instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what is the episode title on original air date of September 30, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)
SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"
Write a SQL query that answers the following question: What is the rating if the rating/share (18-49) is 3.6?
The relevant table was constructed using the following SQL : CREATE TABLE table_23799417_2 (rating VARCHAR)
SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6
Write a SQL query that answers the following question: What is the rating/share total number if the total viewers is 12.75 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_23799417_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_23799417_2 WHERE total_viewers__in_millions_ = "12.75"
Write a SQL query that answers the following question: If the rating is 9.1, what was the total viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)
SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1"
Write a SQL query that answers the following question: What was the reating share when the total viewers was 11.49 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT rating / SHARE(18 AS –49) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "11.49"
Write a SQL query that answers the following question: What was the name of the show that had 10.47 million total viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = "10.47"
Write a SQL query that answers the following question: How many shows had 12.46 total viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "12.46"
Write a SQL query that answers the following question: If the establishment is 49319, what is the sales, receipts or shipments maximum amount?
The relevant table was constructed using the following SQL : CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)
SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establishments = 49319
Write a SQL query that answers the following question: What is the sector is the establishment is 110313?
The relevant table was constructed using the following SQL : CREATE TABLE table_23802822_1 (sector VARCHAR, establishments VARCHAR)
SELECT sector FROM table_23802822_1 WHERE establishments = 110313
Write a SQL query that answers the following question: How many different Leagues had average attendance of 3589?
The relevant table was constructed using the following SQL : CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR)
SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589
Write a SQL query that answers the following question: How many people saw the 3rd, Central regular season on average?
The relevant table was constructed using the following SQL : CREATE TABLE table_2380212_1 (avg_attendance INTEGER, regular_season VARCHAR)
SELECT MIN(avg_attendance) FROM table_2380212_1 WHERE regular_season = "3rd, Central"
Write a SQL query that answers the following question: What League was played in 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_2380212_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_2380212_1 WHERE year = 2007
Write a SQL query that answers the following question: When was the average attendance 789?
The relevant table was constructed using the following SQL : CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)
SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789
Write a SQL query that answers the following question: what is the score in fg-fga if in ft-fta is 16-21
The relevant table was constructed using the following SQL : CREATE TABLE table_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR)
SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = "16-21"
Write a SQL query that answers the following question: in the ft pct .667 what is the number of gp-gs
The relevant table was constructed using the following SQL : CREATE TABLE table_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)
SELECT COUNT(gp_gs) FROM table_23817012_6 WHERE ft_pct = ".667"
Write a SQL query that answers the following question: Name the team number 1 for san lorenzo
The relevant table was constructed using the following SQL : CREATE TABLE table_23812628_1 (team__number1 VARCHAR, team__number2 VARCHAR)
SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = "San Lorenzo"
Write a SQL query that answers the following question: Name the team #2 for river plate
The relevant table was constructed using the following SQL : CREATE TABLE table_23812628_1 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_23812628_1 WHERE team__number1 = "River Plate"
Write a SQL query that answers the following question: Name the points for zamora
The relevant table was constructed using the following SQL : CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)
SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora"
Write a SQL query that answers the following question: Name the 2nd leg for boca juniors
The relevant table was constructed using the following SQL : CREATE TABLE table_23812628_1 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = "Boca Juniors"
Write a SQL query that answers the following question: What is every media type for the Psychedelic Trance genre?
The relevant table was constructed using the following SQL : CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
SELECT media_type FROM table_23829490_1 WHERE genre = "Psychedelic Trance"
Write a SQL query that answers the following question: Who is every composer for the media named Hall of Dreams?
The relevant table was constructed using the following SQL : CREATE TABLE table_23829490_1 (composer VARCHAR, name_of_the_media VARCHAR)
SELECT composer FROM table_23829490_1 WHERE name_of_the_media = "Hall Of Dreams"
Write a SQL query that answers the following question: What is every media type for the Dub genre?
The relevant table was constructed using the following SQL : CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
SELECT media_type FROM table_23829490_1 WHERE genre = "Dub"
Write a SQL query that answers the following question: What is every media type for the World genre?
The relevant table was constructed using the following SQL : CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
SELECT media_type FROM table_23829490_1 WHERE genre = "World"
Write a SQL query that answers the following question: What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?
The relevant table was constructed using the following SQL : CREATE TABLE table_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
SELECT composition_name FROM table_23829490_1 WHERE music_library = "Heart of Asia" AND media_type = "Album" AND genre = "Trance"
Write a SQL query that answers the following question: what percentage is brooklyn when manhattan is 15.5%?
The relevant table was constructed using the following SQL : CREATE TABLE table_23837321_4 (brooklyn VARCHAR, manhattan VARCHAR)
SELECT brooklyn FROM table_23837321_4 WHERE manhattan = "15.5_percentage"
Write a SQL query that answers the following question: What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR)
SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium"
Write a SQL query that answers the following question: What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
SELECT first_year_in_qld_cup FROM table_2383498_4 WHERE home_ground = "Corbett Park, Crosby Park, Lang Park, ANZ Stadium"
Write a SQL query that answers the following question: What is the home ground if team is Sunshine Coast Falcons?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (home_ground VARCHAR, team VARCHAR)
SELECT home_ground FROM table_2383498_4 WHERE team = "Sunshine Coast Falcons"
Write a SQL query that answers the following question: What is the QLD Cup Premierships if team is Gold Coast Vikings?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, team VARCHAR)
SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = "Gold Coast Vikings"
Write a SQL query that answers the following question: What is every team in the location of Port Moresby?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (team VARCHAR, location VARCHAR)
SELECT team FROM table_2383498_4 WHERE location = "Port Moresby"
Write a SQL query that answers the following question: How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR)
SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001"
Write a SQL query that answers the following question: What are the undisclosed when Adam Hinshelwood is Ricky Newman?
The relevant table was constructed using the following SQL : CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR)
SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = "Ricky Newman"
Write a SQL query that answers the following question: What is the df when Adam Hinshelwood is Junior Mendes?
The relevant table was constructed using the following SQL : CREATE TABLE table_23835213_2 (df VARCHAR, adam_hinshelwood VARCHAR)
SELECT df FROM table_23835213_2 WHERE adam_hinshelwood = "Junior Mendes"
Write a SQL query that answers the following question: What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?
The relevant table was constructed using the following SQL : CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)
SELECT undisclosed FROM table_23835213_2 WHERE "aldershot_town" = "aldershot_town" AND wycombe_wanderers = "Oxford United"
Write a SQL query that answers the following question: What is the undisclosed when Wycombe Wanderers is unattached?
The relevant table was constructed using the following SQL : CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)
SELECT undisclosed FROM table_23835213_2 WHERE wycombe_wanderers = "Unattached"
Write a SQL query that answers the following question: Who is the head coach for the team that plays at Altrincham Ice Dome?
The relevant table was constructed using the following SQL : CREATE TABLE table_2384331_1 (head_coach VARCHAR, arena VARCHAR)
SELECT head_coach FROM table_2384331_1 WHERE arena = "Altrincham Ice Dome"
Write a SQL query that answers the following question: What arena does the team play at that has Michael Wales as the captain?
The relevant table was constructed using the following SQL : CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR)
SELECT arena FROM table_2384331_1 WHERE captain = "Michael Wales"
Write a SQL query that answers the following question: List all themes from the top 9.
The relevant table was constructed using the following SQL : CREATE TABLE table_23871828_1 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_23871828_1 WHERE week__number = "Top 9"
Write a SQL query that answers the following question: In what week was the original singer Whitney Houston.
The relevant table was constructed using the following SQL : CREATE TABLE table_23871828_1 (week__number VARCHAR, original_artist VARCHAR)
SELECT week__number FROM table_23871828_1 WHERE original_artist = "Whitney Houston"
Write a SQL query that answers the following question: Name the song for safe result #8.
The relevant table was constructed using the following SQL : CREATE TABLE table_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR)
SELECT song_choice FROM table_23871828_1 WHERE result = "Safe" AND order__number = 8
Write a SQL query that answers the following question: List the song chose for the British Invasion.
The relevant table was constructed using the following SQL : CREATE TABLE table_23871828_1 (song_choice VARCHAR, theme VARCHAR)
SELECT song_choice FROM table_23871828_1 WHERE theme = "British Invasion"
Write a SQL query that answers the following question: Name the stops for stations 36
The relevant table was constructed using the following SQL : CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)
SELECT stops FROM table_2385460_1 WHERE stations = 36
Write a SQL query that answers the following question: Name the number of lines for porta nolana - ottaviano- sarno
The relevant table was constructed using the following SQL : CREATE TABLE table_2385460_1 (lines VARCHAR, route VARCHAR)
SELECT COUNT(lines) FROM table_2385460_1 WHERE route = "Porta Nolana - Ottaviano- Sarno"
Write a SQL query that answers the following question: Name the travel time for porta nolana - nola - baiano
The relevant table was constructed using the following SQL : CREATE TABLE table_2385460_1 (travel_time VARCHAR, route VARCHAR)
SELECT travel_time FROM table_2385460_1 WHERE route = "Porta Nolana - Nola - Baiano"
Write a SQL query that answers the following question: Name the number of stations for 15 minutes travel time
The relevant table was constructed using the following SQL : CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR)
SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = "15 minutes"
Write a SQL query that answers the following question: How big (in km2) is Persarmenia?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (area__km²_ VARCHAR, province__ashkharh_ VARCHAR)
SELECT area__km²_ FROM table_23887174_1 WHERE province__ashkharh_ = "Persarmenia"
Write a SQL query that answers the following question: What's the center of the Artsakh province?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)
SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"
Write a SQL query that answers the following question: How many different provinces is Baghaberd the center of?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)
SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = "Baghaberd"
Write a SQL query that answers the following question: How big is the province with the Armenian name of փայտակարան?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (area__km²_ INTEGER, armenian_name VARCHAR)
SELECT MIN(area__km²_) FROM table_23887174_1 WHERE armenian_name = "Փայտակարան"
Write a SQL query that answers the following question: What's the center of the province that spreads out on 23860 km2?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR)
SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860
Write a SQL query that answers the following question: How many different numbers of cantons does the province with the Armenian name վասպուրական have?
The relevant table was constructed using the following SQL : CREATE TABLE table_23887174_1 (number_of_cantons__gavars_ VARCHAR, armenian_name VARCHAR)
SELECT COUNT(number_of_cantons__gavars_) FROM table_23887174_1 WHERE armenian_name = "Վասպուրական"
Write a SQL query that answers the following question: what are the seasons for no 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_23886181_1 (seasons VARCHAR, no VARCHAR)
SELECT seasons FROM table_23886181_1 WHERE no = "3"
Write a SQL query that answers the following question: what are the maximum wins where the poles are 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_2387790_1 (wins INTEGER, poles VARCHAR)
SELECT MAX(wins) FROM table_2387790_1 WHERE poles = 2
Write a SQL query that answers the following question: What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915_4 (translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR)
SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = "ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə"
Write a SQL query that answers the following question: What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915_4 (translation VARCHAR, ipa___são_paulo__ VARCHAR)
SELECT translation FROM table_23915_4 WHERE ipa___são_paulo__ = "dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə"
Write a SQL query that answers the following question: Which frequency is DYMY?
The relevant table was constructed using the following SQL : CREATE TABLE table_23910822_1 (frequency VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY"
Write a SQL query that answers the following question: What is the frequency when radio station branding is 106.3 energy fm naga?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (frequency VARCHAR, branding VARCHAR)
SELECT frequency FROM table_23915973_1 WHERE branding = "106.3 Energy FM Naga"
Write a SQL query that answers the following question: What is the callsign when power kw is 25kw?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (callsign VARCHAR, power_kw VARCHAR)
SELECT callsign FROM table_23915973_1 WHERE power_kw = "25kW"
Write a SQL query that answers the following question: What is the frequency when callsign is dxru-fm?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (frequency VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_23915973_1 WHERE callsign = "DXRU-FM"
Write a SQL query that answers the following question: What is the radio station branding when the power km is 5kw?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (branding VARCHAR, power_kw VARCHAR)
SELECT branding FROM table_23915973_1 WHERE power_kw = "5kW"
Write a SQL query that answers the following question: What is the coverage when power kw is 25kw?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (coverage VARCHAR, power_kw VARCHAR)
SELECT coverage FROM table_23915973_1 WHERE power_kw = "25kW"
Write a SQL query that answers the following question: How many power kw have a frequency of 93.7 mhz?
The relevant table was constructed using the following SQL : CREATE TABLE table_23915973_1 (power_kw VARCHAR, frequency VARCHAR)
SELECT COUNT(power_kw) FROM table_23915973_1 WHERE frequency = "93.7 MHz"
Write a SQL query that answers the following question: Who were all the writers whose episodes had 0.97 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23918997_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_23918997_1 WHERE us_viewers__million_ = "0.97"
Write a SQL query that answers the following question: How many directors worked on the episode written by Brent Fletcher & Miranda Kwok?
The relevant table was constructed using the following SQL : CREATE TABLE table_23918997_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_23918997_1 WHERE written_by = "Brent Fletcher & Miranda Kwok"
Write a SQL query that answers the following question: What was the title of the episode directed by Rowan Woods?
The relevant table was constructed using the following SQL : CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23918997_1 WHERE directed_by = "Rowan Woods"
Write a SQL query that answers the following question: How many episodes were viewed by 1.29 million people?
The relevant table was constructed using the following SQL : CREATE TABLE table_23918997_1 (no VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(no) FROM table_23918997_1 WHERE us_viewers__million_ = "1.29"
Write a SQL query that answers the following question: Who was the writer for the episode originally airing on March 1, 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_23916272_6 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_23916272_6 WHERE original_air_date = "March 1, 2004"
Write a SQL query that answers the following question: List the title for the season episode number of 8.
The relevant table was constructed using the following SQL : CREATE TABLE table_23916272_6 (title VARCHAR, season__number VARCHAR)
SELECT title FROM table_23916272_6 WHERE season__number = 8
Write a SQL query that answers the following question: Who was the director for the episode originally airing September 29, 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_23916272_6 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_23916272_6 WHERE original_air_date = "September 29, 2003"
Write a SQL query that answers the following question: Name the original air date for harry hannigan directed by adam weissman
The relevant table was constructed using the following SQL : CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_23937219_2 WHERE written_by = "Harry Hannigan" AND directed_by = "Adam Weissman"
Write a SQL query that answers the following question: How many people directed episode 7 In the season?
The relevant table was constructed using the following SQL : CREATE TABLE table_23937219_3 (directed_by VARCHAR, season__number VARCHAR)
SELECT COUNT(directed_by) FROM table_23937219_3 WHERE season__number = 7
Write a SQL query that answers the following question: How many original air dates were there for the episode with production code 212?
The relevant table was constructed using the following SQL : CREATE TABLE table_23937219_3 (original_air_date VARCHAR, prod_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_23937219_3 WHERE prod_code = 212
Write a SQL query that answers the following question: What is the production code for episode 31 in the series?
The relevant table was constructed using the following SQL : CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)
SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31
Write a SQL query that answers the following question: How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (season VARCHAR, relegated_from_league VARCHAR)
SELECT COUNT(season) FROM table_23927423_4 WHERE relegated_from_league = "Barking Birmingham & Solihull Stourbridge"
Write a SQL query that answers the following question: Who was relegated to league if Barking Birmingham & Solihull Stourbridge were relegated from league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (relegated_to_league VARCHAR, relegated_from_league VARCHAR)
SELECT relegated_to_league FROM table_23927423_4 WHERE relegated_from_league = "Barking Birmingham & Solihull Stourbridge"
Write a SQL query that answers the following question: How many were the minimum team that participated in the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (teams INTEGER)
SELECT MIN(teams) FROM table_23927423_4
Write a SQL query that answers the following question: How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR)
SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = "Cornish All Blacks Pertemps Bees"
Write a SQL query that answers the following question: Who was promoted to the league when Coventry was relegated to the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (promoted_to_league VARCHAR, relegated_to_league VARCHAR)
SELECT promoted_to_league FROM table_23927423_4 WHERE relegated_to_league = "Coventry"
Write a SQL query that answers the following question: How many were promoted from the league when Esher was relegated to the league?
The relevant table was constructed using the following SQL : CREATE TABLE table_23927423_4 (promoted_from_league VARCHAR, relegated_to_league VARCHAR)
SELECT COUNT(promoted_from_league) FROM table_23927423_4 WHERE relegated_to_league = "Esher"
Write a SQL query that answers the following question: What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197?
The relevant table was constructed using the following SQL : CREATE TABLE table_23938357_7 (ws_points VARCHAR)
SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197
Write a SQL query that answers the following question: What is the smallest 07-08 oi best value?
The relevant table was constructed using the following SQL : CREATE TABLE table_23938357_7 (Id VARCHAR)
SELECT MIN(07 AS _08_oi_best) FROM table_23938357_7
Write a SQL query that answers the following question: Name the number of partners for 5-7, 6-7 (5-7)
The relevant table was constructed using the following SQL : CREATE TABLE table_23944006_4 (partner VARCHAR, score VARCHAR)
SELECT COUNT(partner) FROM table_23944006_4 WHERE score = "5-7, 6-7 (5-7)"
Write a SQL query that answers the following question: Name the surface for cara black rennae stubbs
The relevant table was constructed using the following SQL : CREATE TABLE table_23944006_4 (surface VARCHAR, opponents VARCHAR)
SELECT surface FROM table_23944006_4 WHERE opponents = "Cara Black Rennae Stubbs"
Write a SQL query that answers the following question: Name the score for san diego
The relevant table was constructed using the following SQL : CREATE TABLE table_23944006_4 (score VARCHAR, championship VARCHAR)
SELECT score FROM table_23944006_4 WHERE championship = "San Diego"
Write a SQL query that answers the following question: Name the outcome for zurich
The relevant table was constructed using the following SQL : CREATE TABLE table_23944006_4 (outcome VARCHAR, championship VARCHAR)
SELECT outcome FROM table_23944006_4 WHERE championship = "Zurich"
Write a SQL query that answers the following question: Name the number of surfaces for 4-6, 2-6
The relevant table was constructed using the following SQL : CREATE TABLE table_23944006_4 (surface VARCHAR, score VARCHAR)
SELECT COUNT(surface) FROM table_23944006_4 WHERE score = "4-6, 2-6"
Write a SQL query that answers the following question: What is the least 08-09 i/o best?
The relevant table was constructed using the following SQL : CREATE TABLE table_23938357_6 (Id VARCHAR)
SELECT MIN(08 AS _09_i_o_best) FROM table_23938357_6
Write a SQL query that answers the following question: How many times is keauna mclaughlin / rockne brubaker ranked?
The relevant table was constructed using the following SQL : CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR)
SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker"
Write a SQL query that answers the following question: Name the sprint classification for michael barry
The relevant table was constructed using the following SQL : CREATE TABLE table_23944514_15 (sprint_classification VARCHAR, aggressive_rider VARCHAR)
SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry"
Write a SQL query that answers the following question: Name the youth classification for michael barry
The relevant table was constructed using the following SQL : CREATE TABLE table_23944514_15 (youth_classification VARCHAR, aggressive_rider VARCHAR)
SELECT youth_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry"
Write a SQL query that answers the following question: Name the mountains classification for bradley white
The relevant table was constructed using the following SQL : CREATE TABLE table_23944514_15 (mountains_classification VARCHAR, aggressive_rider VARCHAR)
SELECT mountains_classification FROM table_23944514_15 WHERE aggressive_rider = "Bradley White"
Write a SQL query that answers the following question: List all mbit/s with profiles of 8b.
The relevant table was constructed using the following SQL : CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR)
SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE profile = "8b"
Write a SQL query that answers the following question: What are the mhz when the profile is 8b?
The relevant table was constructed using the following SQL : CREATE TABLE table_2394927_1 (bandwidth___mhz__ VARCHAR, profile VARCHAR)
SELECT bandwidth___mhz__ FROM table_2394927_1 WHERE profile = "8b"
Write a SQL query that answers the following question: What are the highest mbit/s when the dbm is +17.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, power___dbm__ VARCHAR)
SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE power___dbm__ = "+17.5"
Write a SQL query that answers the following question: List all dbm's when profiles are 8a.
The relevant table was constructed using the following SQL : CREATE TABLE table_2394927_1 (power___dbm__ VARCHAR, profile VARCHAR)
SELECT power___dbm__ FROM table_2394927_1 WHERE profile = "8a"
Write a SQL query that answers the following question: What is the lowest number of carriers?
The relevant table was constructed using the following SQL : CREATE TABLE table_2394927_1 (number_of_carriers INTEGER)
SELECT MIN(number_of_carriers) FROM table_2394927_1
Write a SQL query that answers the following question: Who directed episode 21?
The relevant table was constructed using the following SQL : CREATE TABLE table_23958944_5 (directed_by VARCHAR, no_by_season VARCHAR)
SELECT directed_by FROM table_23958944_5 WHERE no_by_season = 21
Write a SQL query that answers the following question: What episode was watched by 10.81 million US viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_23958944_5 (no_by_season INTEGER, us_viewers__in_millions_ VARCHAR)
SELECT MIN(no_by_season) FROM table_23958944_5 WHERE us_viewers__in_millions_ = "10.81"
Write a SQL query that answers the following question: What episode is directed by Bryan Spicer and written by Terence Paul Winter?
The relevant table was constructed using the following SQL : CREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT title FROM table_23958944_5 WHERE directed_by = "Bryan Spicer" AND written_by = "Terence Paul Winter"
Write a SQL query that answers the following question: Name the number of series for 19
The relevant table was constructed using the following SQL : CREATE TABLE table_23958944_6 (no_by_series VARCHAR, no_by_season VARCHAR)
SELECT no_by_series FROM table_23958944_6 WHERE no_by_season = 19