question
stringlengths
12
244
context
stringlengths
27
489
answer
dict
Which country has doosan infracore as then company name?
CREATE TABLE table_237199_1 (country VARCHAR, company_name VARCHAR)
{ "SQL_Query": "SELECT country FROM table_237199_1 WHERE company_name = \"Doosan Infracore\"" }
How many north american brands have world headquarters in sagamihara?
CREATE TABLE table_237199_1 (north_american_brands VARCHAR, world_headquarters VARCHAR)
{ "SQL_Query": "SELECT COUNT(north_american_brands) FROM table_237199_1 WHERE world_headquarters = \"Sagamihara\"" }
Which company name has headquarters in nagaokakyo, kyoto?
CREATE TABLE table_237199_1 (company_name VARCHAR, world_headquarters VARCHAR)
{ "SQL_Query": "SELECT company_name FROM table_237199_1 WHERE world_headquarters = \"Nagaokakyo, Kyoto\"" }
what is the bore where the vehicle code is t214?
CREATE TABLE table_23722304_2 (bore__mm_ VARCHAR, vehicle_code VARCHAR)
{ "SQL_Query": "SELECT bore__mm_ FROM table_23722304_2 WHERE vehicle_code = \"T214\"" }
what is the compression ratio whre the torque is 208?
CREATE TABLE table_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)
{ "SQL_Query": "SELECT compression_ratio FROM table_23722304_2 WHERE torque__n_m_ = 208" }
what is the vehicle code where the bore is 79.4?
CREATE TABLE table_23722304_2 (vehicle_code VARCHAR, bore__mm_ VARCHAR)
{ "SQL_Query": "SELECT vehicle_code FROM table_23722304_2 WHERE bore__mm_ = \"79.4\"" }
what is the stroke where the vehicle code is t211?
CREATE TABLE table_23722304_2 (stroke__mm_ VARCHAR, vehicle_code VARCHAR)
{ "SQL_Query": "SELECT stroke__mm_ FROM table_23722304_2 WHERE vehicle_code = \"T211\"" }
What was the rating/share for 18-49 for the episode that had 5.90 million viewers?
CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT rating / SHARE(18 - 49) FROM table_23730973_5 WHERE viewers__millions_ = \"5.90\"" }
What was the title of episode 3?
CREATE TABLE table_23730973_5 (episode VARCHAR, no VARCHAR)
{ "SQL_Query": "SELECT episode FROM table_23730973_5 WHERE no = 3" }
What number episode had a rating of 4.7?
CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)
{ "SQL_Query": "SELECT MIN(no) FROM table_23730973_5 WHERE rating = \"4.7\"" }
What was the rating for the episode that had 5.90 million viewers?
CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = \"5.90\"" }
What number episode had a 4.2 rating?
CREATE TABLE table_23730973_5 (no INTEGER, rating VARCHAR)
{ "SQL_Query": "SELECT MIN(no) FROM table_23730973_5 WHERE rating = \"4.2\"" }
What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?
CREATE TABLE table_237757_3 (winning_coach VARCHAR, top_team_in_regular_season__points_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(winning_coach) FROM table_237757_3 WHERE top_team_in_regular_season__points_ = \"Kansas City Spurs (110 points)\"" }
If the top team in regular season (points) is the New York Cosmos (200 points), what is the winner (number of titles)?
CREATE TABLE table_237757_3 (winner__number_of_titles_ VARCHAR, top_team_in_regular_season__points_ VARCHAR)
{ "SQL_Query": "SELECT winner__number_of_titles_ FROM table_237757_3 WHERE top_team_in_regular_season__points_ = \"New York Cosmos (200 points)\"" }
If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?
CREATE TABLE table_237757_3 (winner__number_of_titles_ VARCHAR, runners_up VARCHAR)
{ "SQL_Query": "SELECT winner__number_of_titles_ FROM table_237757_3 WHERE runners_up = \"Fort Lauderdale Strikers\"" }
How many figures for Other in the district where the GN division is 95?
CREATE TABLE table_23777640_1 (other VARCHAR, gn_divisions VARCHAR)
{ "SQL_Query": "SELECT COUNT(other) FROM table_23777640_1 WHERE gn_divisions = 95" }
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)
{ "SQL_Query": "SELECT market_share FROM table_23801721_1 WHERE technology = \"CDMA EVDO GSM EDGE HSPA+\"" }
What was the rank of operator whose technology is CDMA EVDO?
CREATE TABLE table_23801721_1 (rank INTEGER, technology VARCHAR)
{ "SQL_Query": "SELECT MIN(rank) FROM table_23801721_1 WHERE technology = \"CDMA EVDO\"" }
What was the production code for the episode directed by Michael Morris?
CREATE TABLE table_23793770_1 (production_code INTEGER, directed_by VARCHAR)
{ "SQL_Query": "SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = \"Michael Morris\"" }
What is the title the episode directed by Allison Liddi-Brown?
CREATE TABLE table_23793770_1 (title VARCHAR, directed_by VARCHAR)
{ "SQL_Query": "SELECT title FROM table_23793770_1 WHERE directed_by = \"Allison Liddi-Brown\"" }
What the production code for the episode with 16.10 U.S. viewers?
CREATE TABLE table_23793770_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)
{ "SQL_Query": "SELECT MAX(production_code) FROM table_23793770_1 WHERE us_viewers__millions_ = \"16.10\"" }
what is the episode title on original air date of September 30, 2007?
CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)
{ "SQL_Query": "SELECT title FROM table_23799417_2 WHERE original_airing = \"September 30, 2007\"" }
What is the rating if the rating/share (18-49) is 3.6?
CREATE TABLE table_23799417_2 (rating VARCHAR)
{ "SQL_Query": "SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6" }
What is the rating/share total number if the total viewers is 12.75 million?
CREATE TABLE table_23799417_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_23799417_2 WHERE total_viewers__in_millions_ = \"12.75\"" }
If the rating is 9.1, what was the total viewers?
CREATE TABLE table_23799417_2 (total_viewers__in_millions_ VARCHAR, rating VARCHAR)
{ "SQL_Query": "SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = \"9.1\"" }
What was the reating share when the total viewers was 11.49 million?
CREATE TABLE table_23793770_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
{ "SQL_Query": "SELECT rating / SHARE(18 AS –49) FROM table_23793770_2 WHERE total_viewers__in_millions_ = \"11.49\"" }
What was the name of the show that had 10.47 million total viewers?
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
{ "SQL_Query": "SELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = \"10.47\"" }
How many shows had 12.46 total viewers?
CREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(title) FROM table_23793770_2 WHERE total_viewers__in_millions_ = \"12.46\"" }
If the establishment is 49319, what is the sales, receipts or shipments maximum amount?
CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)
{ "SQL_Query": "SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establishments = 49319" }
What is the sector is the establishment is 110313?
CREATE TABLE table_23802822_1 (sector VARCHAR, establishments VARCHAR)
{ "SQL_Query": "SELECT sector FROM table_23802822_1 WHERE establishments = 110313" }
How many different Leagues had average attendance of 3589?
CREATE TABLE table_2380212_1 (league VARCHAR, avg_attendance VARCHAR)
{ "SQL_Query": "SELECT COUNT(league) FROM table_2380212_1 WHERE avg_attendance = 3589" }
How many people saw the 3rd, Central regular season on average?
CREATE TABLE table_2380212_1 (avg_attendance INTEGER, regular_season VARCHAR)
{ "SQL_Query": "SELECT MIN(avg_attendance) FROM table_2380212_1 WHERE regular_season = \"3rd, Central\"" }
What League was played in 2007?
CREATE TABLE table_2380212_1 (league VARCHAR, year VARCHAR)
{ "SQL_Query": "SELECT league FROM table_2380212_1 WHERE year = 2007" }
When was the average attendance 789?
CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)
{ "SQL_Query": "SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789" }
what is the score in fg-fga if in ft-fta is 16-21
CREATE TABLE table_23817012_6 (fg_fga VARCHAR, ft_fta VARCHAR)
{ "SQL_Query": "SELECT fg_fga FROM table_23817012_6 WHERE ft_fta = \"16-21\"" }
in the ft pct .667 what is the number of gp-gs
CREATE TABLE table_23817012_6 (gp_gs VARCHAR, ft_pct VARCHAR)
{ "SQL_Query": "SELECT COUNT(gp_gs) FROM table_23817012_6 WHERE ft_pct = \".667\"" }
Name the team number 1 for san lorenzo
CREATE TABLE table_23812628_1 (team__number1 VARCHAR, team__number2 VARCHAR)
{ "SQL_Query": "SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = \"San Lorenzo\"" }
Name the team #2 for river plate
CREATE TABLE table_23812628_1 (team__number2 VARCHAR, team__number1 VARCHAR)
{ "SQL_Query": "SELECT team__number2 FROM table_23812628_1 WHERE team__number1 = \"River Plate\"" }
Name the points for zamora
CREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)
{ "SQL_Query": "SELECT points FROM table_23812628_1 WHERE team__number1 = \"Zamora\"" }
Name the 2nd leg for boca juniors
CREATE TABLE table_23812628_1 (team__number1 VARCHAR)
{ "SQL_Query": "SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = \"Boca Juniors\"" }
What is every media type for the Psychedelic Trance genre?
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
{ "SQL_Query": "SELECT media_type FROM table_23829490_1 WHERE genre = \"Psychedelic Trance\"" }
Who is every composer for the media named Hall of Dreams?
CREATE TABLE table_23829490_1 (composer VARCHAR, name_of_the_media VARCHAR)
{ "SQL_Query": "SELECT composer FROM table_23829490_1 WHERE name_of_the_media = \"Hall Of Dreams\"" }
What is every media type for the Dub genre?
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
{ "SQL_Query": "SELECT media_type FROM table_23829490_1 WHERE genre = \"Dub\"" }
What is every media type for the World genre?
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
{ "SQL_Query": "SELECT media_type FROM table_23829490_1 WHERE genre = \"World\"" }
What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?
CREATE TABLE table_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
{ "SQL_Query": "SELECT composition_name FROM table_23829490_1 WHERE music_library = \"Heart of Asia\" AND media_type = \"Album\" AND genre = \"Trance\"" }
what percentage is brooklyn when manhattan is 15.5%?
CREATE TABLE table_23837321_4 (brooklyn VARCHAR, manhattan VARCHAR)
{ "SQL_Query": "SELECT brooklyn FROM table_23837321_4 WHERE manhattan = \"15.5_percentage\"" }
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR)
{ "SQL_Query": "SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = \"Dairy Farmers Stadium\"" }
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
CREATE TABLE table_2383498_4 (first_year_in_qld_cup VARCHAR, home_ground VARCHAR)
{ "SQL_Query": "SELECT first_year_in_qld_cup FROM table_2383498_4 WHERE home_ground = \"Corbett Park, Crosby Park, Lang Park, ANZ Stadium\"" }
What is the home ground if team is Sunshine Coast Falcons?
CREATE TABLE table_2383498_4 (home_ground VARCHAR, team VARCHAR)
{ "SQL_Query": "SELECT home_ground FROM table_2383498_4 WHERE team = \"Sunshine Coast Falcons\"" }
What is the QLD Cup Premierships if team is Gold Coast Vikings?
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, team VARCHAR)
{ "SQL_Query": "SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = \"Gold Coast Vikings\"" }
What is every team in the location of Port Moresby?
CREATE TABLE table_2383498_4 (team VARCHAR, location VARCHAR)
{ "SQL_Query": "SELECT team FROM table_2383498_4 WHERE location = \"Port Moresby\"" }
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
CREATE TABLE table_2383498_4 (last_year_in_qld_cup VARCHAR, qld_cup_premierships VARCHAR)
{ "SQL_Query": "SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = \"1996, 2001\"" }
What are the undisclosed when Adam Hinshelwood is Ricky Newman?
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, adam_hinshelwood VARCHAR)
{ "SQL_Query": "SELECT undisclosed FROM table_23835213_2 WHERE adam_hinshelwood = \"Ricky Newman\"" }
What is the df when Adam Hinshelwood is Junior Mendes?
CREATE TABLE table_23835213_2 (df VARCHAR, adam_hinshelwood VARCHAR)
{ "SQL_Query": "SELECT df FROM table_23835213_2 WHERE adam_hinshelwood = \"Junior Mendes\"" }
What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)
{ "SQL_Query": "SELECT undisclosed FROM table_23835213_2 WHERE \"aldershot_town\" = \"aldershot_town\" AND wycombe_wanderers = \"Oxford United\"" }
What is the undisclosed when Wycombe Wanderers is unattached?
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)
{ "SQL_Query": "SELECT undisclosed FROM table_23835213_2 WHERE wycombe_wanderers = \"Unattached\"" }
Who is the head coach for the team that plays at Altrincham Ice Dome?
CREATE TABLE table_2384331_1 (head_coach VARCHAR, arena VARCHAR)
{ "SQL_Query": "SELECT head_coach FROM table_2384331_1 WHERE arena = \"Altrincham Ice Dome\"" }
What arena does the team play at that has Michael Wales as the captain?
CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR)
{ "SQL_Query": "SELECT arena FROM table_2384331_1 WHERE captain = \"Michael Wales\"" }
List all themes from the top 9.
CREATE TABLE table_23871828_1 (theme VARCHAR, week__number VARCHAR)
{ "SQL_Query": "SELECT theme FROM table_23871828_1 WHERE week__number = \"Top 9\"" }
In what week was the original singer Whitney Houston.
CREATE TABLE table_23871828_1 (week__number VARCHAR, original_artist VARCHAR)
{ "SQL_Query": "SELECT week__number FROM table_23871828_1 WHERE original_artist = \"Whitney Houston\"" }
Name the song for safe result #8.
CREATE TABLE table_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR)
{ "SQL_Query": "SELECT song_choice FROM table_23871828_1 WHERE result = \"Safe\" AND order__number = 8" }
List the song chose for the British Invasion.
CREATE TABLE table_23871828_1 (song_choice VARCHAR, theme VARCHAR)
{ "SQL_Query": "SELECT song_choice FROM table_23871828_1 WHERE theme = \"British Invasion\"" }
Name the stops for stations 36
CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)
{ "SQL_Query": "SELECT stops FROM table_2385460_1 WHERE stations = 36" }
Name the number of lines for porta nolana - ottaviano- sarno
CREATE TABLE table_2385460_1 (lines VARCHAR, route VARCHAR)
{ "SQL_Query": "SELECT COUNT(lines) FROM table_2385460_1 WHERE route = \"Porta Nolana - Ottaviano- Sarno\"" }
Name the travel time for porta nolana - nola - baiano
CREATE TABLE table_2385460_1 (travel_time VARCHAR, route VARCHAR)
{ "SQL_Query": "SELECT travel_time FROM table_2385460_1 WHERE route = \"Porta Nolana - Nola - Baiano\"" }
Name the number of stations for 15 minutes travel time
CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR)
{ "SQL_Query": "SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = \"15 minutes\"" }
How big (in km2) is Persarmenia?
CREATE TABLE table_23887174_1 (area__km²_ VARCHAR, province__ashkharh_ VARCHAR)
{ "SQL_Query": "SELECT area__km²_ FROM table_23887174_1 WHERE province__ashkharh_ = \"Persarmenia\"" }
What's the center of the Artsakh province?
CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)
{ "SQL_Query": "SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = \"Artsakh\"" }
How many different provinces is Baghaberd the center of?
CREATE TABLE table_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)
{ "SQL_Query": "SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = \"Baghaberd\"" }
How big is the province with the Armenian name of փայտակարան?
CREATE TABLE table_23887174_1 (area__km²_ INTEGER, armenian_name VARCHAR)
{ "SQL_Query": "SELECT MIN(area__km²_) FROM table_23887174_1 WHERE armenian_name = \"Փայտակարան\"" }
What's the center of the province that spreads out on 23860 km2?
CREATE TABLE table_23887174_1 (center VARCHAR, area__km²_ VARCHAR)
{ "SQL_Query": "SELECT center FROM table_23887174_1 WHERE area__km²_ = 23860" }
How many different numbers of cantons does the province with the Armenian name վասպուրական have?
CREATE TABLE table_23887174_1 (number_of_cantons__gavars_ VARCHAR, armenian_name VARCHAR)
{ "SQL_Query": "SELECT COUNT(number_of_cantons__gavars_) FROM table_23887174_1 WHERE armenian_name = \"Վասպուրական\"" }
what are the seasons for no 3?
CREATE TABLE table_23886181_1 (seasons VARCHAR, no VARCHAR)
{ "SQL_Query": "SELECT seasons FROM table_23886181_1 WHERE no = \"3\"" }
what are the maximum wins where the poles are 2?
CREATE TABLE table_2387790_1 (wins INTEGER, poles VARCHAR)
{ "SQL_Query": "SELECT MAX(wins) FROM table_2387790_1 WHERE poles = 2" }
What is the original of the ipa ( rio de janeiro )translation ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə?
CREATE TABLE table_23915_4 (translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR)
{ "SQL_Query": "SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = \"ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə\"" }
What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə?
CREATE TABLE table_23915_4 (translation VARCHAR, ipa___são_paulo__ VARCHAR)
{ "SQL_Query": "SELECT translation FROM table_23915_4 WHERE ipa___são_paulo__ = \"dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə\"" }
Which frequency is DYMY?
CREATE TABLE table_23910822_1 (frequency VARCHAR, callsign VARCHAR)
{ "SQL_Query": "SELECT frequency FROM table_23910822_1 WHERE callsign = \"DYMY\"" }
What is the frequency when radio station branding is 106.3 energy fm naga?
CREATE TABLE table_23915973_1 (frequency VARCHAR, branding VARCHAR)
{ "SQL_Query": "SELECT frequency FROM table_23915973_1 WHERE branding = \"106.3 Energy FM Naga\"" }
What is the callsign when power kw is 25kw?
CREATE TABLE table_23915973_1 (callsign VARCHAR, power_kw VARCHAR)
{ "SQL_Query": "SELECT callsign FROM table_23915973_1 WHERE power_kw = \"25kW\"" }
What is the frequency when callsign is dxru-fm?
CREATE TABLE table_23915973_1 (frequency VARCHAR, callsign VARCHAR)
{ "SQL_Query": "SELECT frequency FROM table_23915973_1 WHERE callsign = \"DXRU-FM\"" }
What is the radio station branding when the power km is 5kw?
CREATE TABLE table_23915973_1 (branding VARCHAR, power_kw VARCHAR)
{ "SQL_Query": "SELECT branding FROM table_23915973_1 WHERE power_kw = \"5kW\"" }
What is the coverage when power kw is 25kw?
CREATE TABLE table_23915973_1 (coverage VARCHAR, power_kw VARCHAR)
{ "SQL_Query": "SELECT coverage FROM table_23915973_1 WHERE power_kw = \"25kW\"" }
How many power kw have a frequency of 93.7 mhz?
CREATE TABLE table_23915973_1 (power_kw VARCHAR, frequency VARCHAR)
{ "SQL_Query": "SELECT COUNT(power_kw) FROM table_23915973_1 WHERE frequency = \"93.7 MHz\"" }
Who were all the writers whose episodes had 0.97 million viewers?
CREATE TABLE table_23918997_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_23918997_1 WHERE us_viewers__million_ = \"0.97\"" }
How many directors worked on the episode written by Brent Fletcher & Miranda Kwok?
CREATE TABLE table_23918997_1 (directed_by VARCHAR, written_by VARCHAR)
{ "SQL_Query": "SELECT COUNT(directed_by) FROM table_23918997_1 WHERE written_by = \"Brent Fletcher & Miranda Kwok\"" }
What was the title of the episode directed by Rowan Woods?
CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR)
{ "SQL_Query": "SELECT title FROM table_23918997_1 WHERE directed_by = \"Rowan Woods\"" }
How many episodes were viewed by 1.29 million people?
CREATE TABLE table_23918997_1 (no VARCHAR, us_viewers__million_ VARCHAR)
{ "SQL_Query": "SELECT COUNT(no) FROM table_23918997_1 WHERE us_viewers__million_ = \"1.29\"" }
Who was the writer for the episode originally airing on March 1, 2004?
CREATE TABLE table_23916272_6 (written_by VARCHAR, original_air_date VARCHAR)
{ "SQL_Query": "SELECT written_by FROM table_23916272_6 WHERE original_air_date = \"March 1, 2004\"" }
List the title for the season episode number of 8.
CREATE TABLE table_23916272_6 (title VARCHAR, season__number VARCHAR)
{ "SQL_Query": "SELECT title FROM table_23916272_6 WHERE season__number = 8" }
Who was the director for the episode originally airing September 29, 2003?
CREATE TABLE table_23916272_6 (directed_by VARCHAR, original_air_date VARCHAR)
{ "SQL_Query": "SELECT directed_by FROM table_23916272_6 WHERE original_air_date = \"September 29, 2003\"" }
Name the original air date for harry hannigan directed by adam weissman
CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)
{ "SQL_Query": "SELECT original_air_date FROM table_23937219_2 WHERE written_by = \"Harry Hannigan\" AND directed_by = \"Adam Weissman\"" }
How many people directed episode 7 In the season?
CREATE TABLE table_23937219_3 (directed_by VARCHAR, season__number VARCHAR)
{ "SQL_Query": "SELECT COUNT(directed_by) FROM table_23937219_3 WHERE season__number = 7" }
How many original air dates were there for the episode with production code 212?
CREATE TABLE table_23937219_3 (original_air_date VARCHAR, prod_code VARCHAR)
{ "SQL_Query": "SELECT COUNT(original_air_date) FROM table_23937219_3 WHERE prod_code = 212" }
What is the production code for episode 31 in the series?
CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)
{ "SQL_Query": "SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31" }
How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league?
CREATE TABLE table_23927423_4 (season VARCHAR, relegated_from_league VARCHAR)
{ "SQL_Query": "SELECT COUNT(season) FROM table_23927423_4 WHERE relegated_from_league = \"Barking Birmingham & Solihull Stourbridge\"" }
Who was relegated to league if Barking Birmingham & Solihull Stourbridge were relegated from league?
CREATE TABLE table_23927423_4 (relegated_to_league VARCHAR, relegated_from_league VARCHAR)
{ "SQL_Query": "SELECT relegated_to_league FROM table_23927423_4 WHERE relegated_from_league = \"Barking Birmingham & Solihull Stourbridge\"" }
How many were the minimum team that participated in the league?
CREATE TABLE table_23927423_4 (teams INTEGER)
{ "SQL_Query": "SELECT MIN(teams) FROM table_23927423_4" }
How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league?
CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR)
{ "SQL_Query": "SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = \"Cornish All Blacks Pertemps Bees\"" }
Who was promoted to the league when Coventry was relegated to the league?
CREATE TABLE table_23927423_4 (promoted_to_league VARCHAR, relegated_to_league VARCHAR)
{ "SQL_Query": "SELECT promoted_to_league FROM table_23927423_4 WHERE relegated_to_league = \"Coventry\"" }
How many were promoted from the league when Esher was relegated to the league?
CREATE TABLE table_23927423_4 (promoted_from_league VARCHAR, relegated_to_league VARCHAR)
{ "SQL_Query": "SELECT COUNT(promoted_from_league) FROM table_23927423_4 WHERE relegated_to_league = \"Esher\"" }