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