instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the title of the episode with production code 3x5405?
The relevant table was constructed using the following SQL : CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_24938621_2 WHERE production_code = "3X5405"
Write a SQL query that answers the following question: Who as the home team for game on 5 october 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_24949975_1 (home_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_24949975_1 WHERE date = "5 October 2011"
Write a SQL query that answers the following question: What was the stadium for the home team of shamrock rovers and result of 3–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_24949975_1 (stadium VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT stadium FROM table_24949975_1 WHERE home_team = "Shamrock Rovers" AND result = "3–0"
Write a SQL query that answers the following question: What was the away team when the result was 2–1 and home team was the bohemians?
The relevant table was constructed using the following SQL : CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_24949975_1 WHERE result = "2–1" AND home_team = "Bohemians"
Write a SQL query that answers the following question: Who was the home team for the 2013 season and the result was 0–0?
The relevant table was constructed using the following SQL : CREATE TABLE table_24949975_1 (home_team VARCHAR, season VARCHAR, result VARCHAR)
SELECT home_team FROM table_24949975_1 WHERE season = "2013" AND result = "0–0"
Write a SQL query that answers the following question: What is the date for the game at the tallaght stadium and result was 0–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_24949975_1 (date VARCHAR, stadium VARCHAR, result VARCHAR)
SELECT date FROM table_24949975_1 WHERE stadium = "Tallaght stadium" AND result = "0–1"
Write a SQL query that answers the following question: What opponents played Waldstadion in a game?
The relevant table was constructed using the following SQL : CREATE TABLE table_24951872_2 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_24951872_2 WHERE game_site = "Waldstadion"
Write a SQL query that answers the following question: What was the maximum week that had attendance of 10738?
The relevant table was constructed using the following SQL : CREATE TABLE table_24951872_2 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_24951872_2 WHERE attendance = 10738
Write a SQL query that answers the following question: What is the production code of the episode written by Cathryn Humphris?
The relevant table was constructed using the following SQL : CREATE TABLE table_24938621_3 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_24938621_3 WHERE written_by = "Cathryn Humphris"
Write a SQL query that answers the following question: What is the production code of the episode that had 5.43 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24938621_3 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_24938621_3 WHERE us_viewers__million_ = "5.43"
Write a SQL query that answers the following question: What was the title of the episode directed by Jesse Warn?
The relevant table was constructed using the following SQL : CREATE TABLE table_24938621_3 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_24938621_3 WHERE directed_by = "Jesse Warn"
Write a SQL query that answers the following question: What episode number was written by Gregg Hurwitz?
The relevant table was constructed using the following SQL : CREATE TABLE table_24938621_3 (no VARCHAR, written_by VARCHAR)
SELECT no FROM table_24938621_3 WHERE written_by = "Gregg Hurwitz"
Write a SQL query that answers the following question: If the dry density is 800, what is the drying shrinkage %?
The relevant table was constructed using the following SQL : CREATE TABLE table_24969173_1 (drying_shrinkage___percentage_ VARCHAR, dry_density__kg_m3_ VARCHAR)
SELECT drying_shrinkage___percentage_ FROM table_24969173_1 WHERE dry_density__kg_m3_ = 800
Write a SQL query that answers the following question: What number in the series was episode 7 in the season?
The relevant table was constructed using the following SQL : CREATE TABLE table_24961421_1 (series__number VARCHAR, season__number VARCHAR)
SELECT series__number FROM table_24961421_1 WHERE season__number = 7
Write a SQL query that answers the following question: Who wrote the episode that had 12.15 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24961421_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_24961421_1 WHERE us_viewers__millions_ = "12.15"
Write a SQL query that answers the following question: What number in the season was the episode with 12.23 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24961421_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
SELECT season__number FROM table_24961421_1 WHERE us_viewers__millions_ = "12.23"
Write a SQL query that answers the following question: What is the date of the game at Olympic Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_24989925_2 WHERE game_site = "Olympic Stadium"
Write a SQL query that answers the following question: How many weeks total are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_24989925_2 (week INTEGER)
SELECT MAX(week) FROM table_24989925_2
Write a SQL query that answers the following question: What was the team's record when they played at Rheinenergiestadion?
The relevant table was constructed using the following SQL : CREATE TABLE table_24989925_2 (team_record VARCHAR, game_site VARCHAR)
SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion"
Write a SQL query that answers the following question: What is the lowest overall number of 09-10 oi 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_24990183_6 (Id VARCHAR)
SELECT MIN(09 AS _10_oi_2nd) FROM table_24990183_6
Write a SQL query that answers the following question: What was the maximum 09-10 i/o best?
The relevant table was constructed using the following SQL : CREATE TABLE table_24990183_4 (Id VARCHAR)
SELECT MAX(09 AS _10_i_o_best) FROM table_24990183_4
Write a SQL query that answers the following question: If the rank is 17, what are the names?
The relevant table was constructed using the following SQL : CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR)
SELECT name FROM table_24990183_7 WHERE rank = 17
Write a SQL query that answers the following question: If the WS points is 947, what is the 08-09 gp/jgp 2nd ?
The relevant table was constructed using the following SQL : CREATE TABLE table_24990183_7 (ws_points VARCHAR)
SELECT 08 AS _09_gp_jgp_2nd FROM table_24990183_7 WHERE ws_points = 947
Write a SQL query that answers the following question: How many points did he have when he has in the 34th position?
The relevant table was constructed using the following SQL : CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)
SELECT points FROM table_24998088_1 WHERE position = "34th"
Write a SQL query that answers the following question: How many wins were listed when he had 112 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_24998088_1 (wins VARCHAR, points VARCHAR)
SELECT wins FROM table_24998088_1 WHERE points = "112"
Write a SQL query that answers the following question: In what series did he have the 7th position?
The relevant table was constructed using the following SQL : CREATE TABLE table_24998088_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_24998088_1 WHERE position = "7th"
Write a SQL query that answers the following question: what were his points when he was in 8th position?
The relevant table was constructed using the following SQL : CREATE TABLE table_24998088_1 (points VARCHAR, position VARCHAR)
SELECT points FROM table_24998088_1 WHERE position = "8th"
Write a SQL query that answers the following question: What was the vote when the air date is 4 october 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)
SELECT vote FROM table_25016824_2 WHERE air_date = "4 October 1997"
Write a SQL query that answers the following question: Who was eliminated when immunity went to kent (jürgen)?
The relevant table was constructed using the following SQL : CREATE TABLE table_25016824_2 (eliminated VARCHAR, immunity VARCHAR)
SELECT eliminated FROM table_25016824_2 WHERE immunity = "Kent (Jürgen)"
Write a SQL query that answers the following question: Who was eliminated when the vote was 8-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_25016824_2 (eliminated VARCHAR, vote VARCHAR)
SELECT eliminated FROM table_25016824_2 WHERE vote = "8-1"
Write a SQL query that answers the following question: How many entries are there for vote when the air date was 15 november 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)
SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 1997"
Write a SQL query that answers the following question: What was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?
The relevant table was constructed using the following SQL : CREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)
SELECT reward FROM table_25016824_2 WHERE immunity = "Martin" AND finish = "13th voted Out 8th Jury Member Day 46"
Write a SQL query that answers the following question: How many values for Macedonian correspond to Slovianski value of Veliki?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (macedonian VARCHAR, slovianski VARCHAR)
SELECT COUNT(macedonian) FROM table_25008327_8 WHERE slovianski = "veliki"
Write a SQL query that answers the following question: What area all values for Slovak when value for Ukranian is пес, собака?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR)
SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака"
Write a SQL query that answers the following question: What is every value for Croatian when value for English is dog?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (croatian VARCHAR, english VARCHAR)
SELECT croatian FROM table_25008327_8 WHERE english = "dog"
Write a SQL query that answers the following question: What is every value for Polish when Balarusian is ноч?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (polish VARCHAR, belarusian VARCHAR)
SELECT polish FROM table_25008327_8 WHERE belarusian = "ноч"
Write a SQL query that answers the following question: What is every value for Russian when value for Bulgarian is пес, куче?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (russian VARCHAR, bulgarian VARCHAR)
SELECT russian FROM table_25008327_8 WHERE bulgarian = "пес, куче"
Write a SQL query that answers the following question: What is every value for словјански if polish is książka?
The relevant table was constructed using the following SQL : CREATE TABLE table_25008327_8 (словјански VARCHAR, polish VARCHAR)
SELECT словјански FROM table_25008327_8 WHERE polish = "książka"
Write a SQL query that answers the following question: Name the position for christopher smith
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_5 (position VARCHAR, player VARCHAR)
SELECT position FROM table_25017530_5 WHERE player = "Christopher Smith"
Write a SQL query that answers the following question: Name the college for nate binder
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder"
Write a SQL query that answers the following question: Name the least pick number for steven turner
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_5 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner"
Write a SQL query that answers the following question: Name the cfl team for steven turner
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_5 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner"
Write a SQL query that answers the following question: Name the cfl team for lb position
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_6 (cfl_team VARCHAR, position VARCHAR)
SELECT cfl_team FROM table_25017530_6 WHERE position = "LB"
Write a SQL query that answers the following question: Name the cfl team for saskatchewan
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_6 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan"
Write a SQL query that answers the following question: Name the position for michael warner
The relevant table was constructed using the following SQL : CREATE TABLE table_25017530_6 (position VARCHAR, player VARCHAR)
SELECT position FROM table_25017530_6 WHERE player = "Michael Warner"
Write a SQL query that answers the following question: How many episodes were numbered 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_2501754_2 (production_count VARCHAR, episode__number VARCHAR)
SELECT COUNT(production_count) FROM table_2501754_2 WHERE episode__number = 5
Write a SQL query that answers the following question: What are the original air date(s) for episodes with production code ipea343l?
The relevant table was constructed using the following SQL : CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR)
SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA343L"
Write a SQL query that answers the following question: What are the original air date(s) for episodes with production code ipea345a?
The relevant table was constructed using the following SQL : CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR)
SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A"
Write a SQL query that answers the following question: What are the original air date(s) for episodes with 8.63 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_2501754_2 (original_airdate VARCHAR, viewing_figures_millions VARCHAR)
SELECT original_airdate FROM table_2501754_2 WHERE viewing_figures_millions = "8.63"
Write a SQL query that answers the following question: What is the power of the Type R?
The relevant table was constructed using the following SQL : CREATE TABLE table_250230_2 (power VARCHAR, model VARCHAR)
SELECT power FROM table_250230_2 WHERE model = "Type R"
Write a SQL query that answers the following question: What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?
The relevant table was constructed using the following SQL : CREATE TABLE table_250230_2 (brakes VARCHAR, model VARCHAR, wheels VARCHAR, tyres VARCHAR)
SELECT brakes FROM table_250230_2 WHERE wheels = "16x8.0JJ (front) 16x8.0JJ (rear)" AND tyres = "225/50R16 92V(front) 225/50R16 92V(rear)" AND model = "Type RB 4AT"
Write a SQL query that answers the following question: What brakes for the 4-speed automatic gearbox?
The relevant table was constructed using the following SQL : CREATE TABLE table_250230_2 (brakes VARCHAR, gearbox VARCHAR)
SELECT brakes FROM table_250230_2 WHERE gearbox = "4-speed automatic"
Write a SQL query that answers the following question: What is the power for the Spirit R (Type B)?
The relevant table was constructed using the following SQL : CREATE TABLE table_250230_2 (power VARCHAR, model VARCHAR)
SELECT power FROM table_250230_2 WHERE model = "Spirit R (Type B)"
Write a SQL query that answers the following question: What is the gearbox when the torque is torque?
The relevant table was constructed using the following SQL : CREATE TABLE table_250230_2 (gearbox VARCHAR)
SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque"
Write a SQL query that answers the following question: Name the first elected for alabama 3
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_4 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_25030512_4 WHERE district = "Alabama 3"
Write a SQL query that answers the following question: Name the party for spencer bachus
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_4 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_25030512_4 WHERE incumbent = "Spencer Bachus"
Write a SQL query that answers the following question: Name the district for mike rogers
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_25030512_4 WHERE incumbent = "Mike Rogers"
Write a SQL query that answers the following question: Name the district for spencer bachus
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_4 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_25030512_4 WHERE incumbent = "Spencer Bachus"
Write a SQL query that answers the following question: In what district was keith ellison the incumbent?
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_26 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_25030512_26 WHERE incumbent = "Keith Ellison"
Write a SQL query that answers the following question: List the kilo watt hoours per day for moline.
The relevant table was constructed using the following SQL : CREATE TABLE table_25034983_2 (day_power___w__ VARCHAR, city VARCHAR)
SELECT day_power___w__ FROM table_25034983_2 WHERE city = "Moline"
Write a SQL query that answers the following question: In which year did the voice of muscatine show start?
The relevant table was constructed using the following SQL : CREATE TABLE table_25034983_2 (start VARCHAR, nickname VARCHAR)
SELECT start FROM table_25034983_2 WHERE nickname = "Voice of Muscatine"
Write a SQL query that answers the following question: In what year was cumulus founded?
The relevant table was constructed using the following SQL : CREATE TABLE table_25034983_2 (start INTEGER, owner VARCHAR)
SELECT MIN(start) FROM table_25034983_2 WHERE owner = "Cumulus"
Write a SQL query that answers the following question: Does the city of moline have stereo?
The relevant table was constructed using the following SQL : CREATE TABLE table_25034983_2 (stereo VARCHAR, city VARCHAR)
SELECT stereo FROM table_25034983_2 WHERE city = "Moline"
Write a SQL query that answers the following question: what is the company with the parent company wrightbus?
The relevant table was constructed using the following SQL : CREATE TABLE table_250309_1 (company VARCHAR, parent_company VARCHAR)
SELECT company FROM table_250309_1 WHERE parent_company = "Wrightbus"
Write a SQL query that answers the following question: what is the name ofhte company where the plant is in burnaston?
The relevant table was constructed using the following SQL : CREATE TABLE table_250309_1 (company VARCHAR, plant VARCHAR)
SELECT company FROM table_250309_1 WHERE plant = "Burnaston"
Write a SQL query that answers the following question: what models are produced where the plant is scarborough?
The relevant table was constructed using the following SQL : CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)
SELECT models_produced FROM table_250309_1 WHERE plant = "Scarborough"
Write a SQL query that answers the following question: how many models produced where the plant is castle bromwich?
The relevant table was constructed using the following SQL : CREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)
SELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = "Castle Bromwich"
Write a SQL query that answers the following question: what is the production where the parent company is ariel?
The relevant table was constructed using the following SQL : CREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR)
SELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = "Ariel"
Write a SQL query that answers the following question: What kind of chassis on the angie's list sponsored car?
The relevant table was constructed using the following SQL : CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR)
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List"
Write a SQL query that answers the following question: What team owns the car owned by chip ganassi?
The relevant table was constructed using the following SQL : CREATE TABLE table_2503102_2 (team VARCHAR, listed_owner_s_ VARCHAR)
SELECT team FROM table_2503102_2 WHERE listed_owner_s_ = "Chip Ganassi"
Write a SQL query that answers the following question: What chassis is on the car repped by team rahal letterman lanigan racing?
The relevant table was constructed using the following SQL : CREATE TABLE table_2503102_2 (chassis VARCHAR, team VARCHAR)
SELECT chassis FROM table_2503102_2 WHERE team = "Rahal Letterman Lanigan Racing"
Write a SQL query that answers the following question: Who drives the abc supply sponsored cor?
The relevant table was constructed using the following SQL : CREATE TABLE table_2503102_2 (driver_s_ VARCHAR, primary_sponsor VARCHAR)
SELECT driver_s_ FROM table_2503102_2 WHERE primary_sponsor = "ABC Supply"
Write a SQL query that answers the following question: Name the number of district for tom marino
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Tom Marino"
Write a SQL query that answers the following question: Name the district for 1994
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_41 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_25030512_41 WHERE first_elected = 1994
Write a SQL query that answers the following question: Name the party for pennsylvania 10
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR)
SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10"
Write a SQL query that answers the following question: Name the result for glenn thompson
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson"
Write a SQL query that answers the following question: Name the number of district for bill shuster
The relevant table was constructed using the following SQL : CREATE TABLE table_25030512_41 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Bill Shuster"
Write a SQL query that answers the following question: List the total play time for 11 starts.
The relevant table was constructed using the following SQL : CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR)
SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 11
Write a SQL query that answers the following question: In what region is the enrollment ratio in primary 94.40?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (region VARCHAR, primary__6_13_years_ VARCHAR)
SELECT region FROM table_25042332_22 WHERE primary__6_13_years_ = "94.40"
Write a SQL query that answers the following question: What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR)
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55"
Write a SQL query that answers the following question: What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "38.14"
Write a SQL query that answers the following question: What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (tertiary__18_24_years_ VARCHAR, secondary__14_17_years_ VARCHAR)
SELECT tertiary__18_24_years_ FROM table_25042332_22 WHERE secondary__14_17_years_ = "71.43"
Write a SQL query that answers the following question: What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, primary__6_13_years_ VARCHAR)
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE primary__6_13_years_ = "93.10"
Write a SQL query that answers the following question: What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "50.23"
Write a SQL query that answers the following question: what is the number of registered female voters where the percentage is 108.6%
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_30 (enrolled_women VARCHAR, e_vap_ratio_women VARCHAR)
SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%"
Write a SQL query that answers the following question: what is the percentage of male voters where the level of maturity is 123726
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR)
SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726
Write a SQL query that answers the following question: How many regions had 153 women prison inmates?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, prison_inmates_women VARCHAR)
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE prison_inmates_women = 153
Write a SQL query that answers the following question: How many regions had an incarceration rate for females of 63?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR)
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63
Write a SQL query that answers the following question: What is the male incarceration rate of maule?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_31 (incarceration_rate_male INTEGER, region VARCHAR)
SELECT MAX(incarceration_rate_male) FROM table_25042332_31 WHERE region = "Maule"
Write a SQL query that answers the following question: Name the region for automatic washing machine being 60.9%
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)
SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%"
Write a SQL query that answers the following question: Name the fixed telephone line for 25.6% vehicle
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR)
SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%"
Write a SQL query that answers the following question: Name the region for 39.2% vehicle
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_27 (region VARCHAR, vehicle VARCHAR)
SELECT region FROM table_25042332_27 WHERE vehicle = "39.2%"
Write a SQL query that answers the following question: What region has 0.3% solar panel?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR)
SELECT region FROM table_25042332_26 WHERE solar_panel = "0.3%"
Write a SQL query that answers the following question: What is atacama's percentage of solar panels?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR)
SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"
Write a SQL query that answers the following question: Which region has 0.6% none?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_26 (region VARCHAR, none VARCHAR)
SELECT region FROM table_25042332_26 WHERE none = "0.6%"
Write a SQL query that answers the following question: What is the percentage of public network in the region that has 0.1% other sources, 0.0% solar, and is named maule?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_26 (public_network VARCHAR, region VARCHAR, other_source VARCHAR, solar_panel VARCHAR)
SELECT public_network FROM table_25042332_26 WHERE other_source = "0.1%" AND solar_panel = "0.0%" AND region = "Maule"
Write a SQL query that answers the following question: How many regions have 0.5% solar panels?
The relevant table was constructed using the following SQL : CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR)
SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "0.5%"
Write a SQL query that answers the following question: What is the production number of 3-04?
The relevant table was constructed using the following SQL : CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR)
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04"
Write a SQL query that answers the following question: What was the title of the episode that aired on October 7, 1965?
The relevant table was constructed using the following SQL : CREATE TABLE table_25046766_3 (title VARCHAR, original_airdate_uk VARCHAR)
SELECT title FROM table_25046766_3 WHERE original_airdate_uk = "October 7, 1965"
Write a SQL query that answers the following question: When don inglis and ralph smart are the writers how many episode numbers are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_25046766_1 (episode_no VARCHAR, written_by VARCHAR)
SELECT COUNT(episode_no) FROM table_25046766_1 WHERE written_by = "Don Inglis and Ralph Smart"