output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "position" FROM "nascar_sprint_cup_series" WHERE "year"=1992;
## Task Generate a SQL query to answer the following question: `What position was Parsons in for 1992? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "nascar_sprint_cup_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" text, "avg_finish" text, "winnings" text, "position" text, "team_s" text ); ### SQL Given the database schema, here is the SQL query that answers `What position was Parsons in for 1992? `: ```sql
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Jelle Vanendert';
## Task Generate a SQL query to answer the following question: `Who is every young rider classification when Jelle Vanendert is the winner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is every young rider classification when Jelle Vanendert is the winner?`: ```sql
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "combativity_award"='Yannick Talabardon';
## Task Generate a SQL query to answer the following question: `Who is every young rider classification if combativity award is Yannick Talabardon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is every young rider classification if combativity award is Yannick Talabardon?`: ```sql
SELECT COUNT("mountains_classification") FROM "classification_leadership" WHERE "winner"='Rui Costa';
## Task Generate a SQL query to answer the following question: `How many mountains classifications when Rui Costa is the winner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text ); ### SQL Given the database schema, here is the SQL query that answers `How many mountains classifications when Rui Costa is the winner?`: ```sql
SELECT "team_classification" FROM "classification_leadership" WHERE "points_classification"='Philippe Gilbert' AND "mountains_classification"='Johnny Hoogerland' AND "stage"<9.0;
## Task Generate a SQL query to answer the following question: `What is every team classification when points classification is Philippe Gilbert if mountains classification is Johnny Hoogerland and stage is less than 9.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text, "combativity_award" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every team classification when points classification is Philippe Gilbert if mountains classification is Johnny Hoogerland and stage is less than 9.0?`: ```sql
SELECT "u_s_viewers_million" FROM "table1_25997153_1" WHERE "directed_by"='Dan Lerner';
## Task Generate a SQL query to answer the following question: `how many million u.s. viewers watched the episode directed by dan lerner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25997153_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `how many million u.s. viewers watched the episode directed by dan lerner?`: ```sql
SELECT MAX("no_in_series") FROM "table1_25997153_1" WHERE "u_s_viewers_million"='16.17';
## Task Generate a SQL query to answer the following question: `what is the latest episode in the series that had 16.17 million u.s. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25997153_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the latest episode in the series that had 16.17 million u.s. viewers?`: ```sql
SELECT "title" FROM "table1_25997153_1" WHERE "production_code"='3X5362';
## Task Generate a SQL query to answer the following question: `What is the title of the episode with the production code 3x5362?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25997153_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the title of the episode with the production code 3x5362?`: ```sql
SELECT MIN("nsg_nr") FROM "table1_26013618_1" WHERE "date_established"='19961220 20.12.1996';
## Task Generate a SQL query to answer the following question: `What Nature reserve number was established on 19961220 20.12.1996` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `What Nature reserve number was established on 19961220 20.12.1996`: ```sql
SELECT COUNT("nsg_nr") FROM "table1_26013618_1" WHERE "date_established"='19740329 29.03.1974';
## Task Generate a SQL query to answer the following question: `How many reserves were established on 19740329 29.03.1974?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `How many reserves were established on 19740329 29.03.1974?`: ```sql
SELECT "date_established" FROM "table1_26013618_1" WHERE "name_of_the_nature_reserve"='Stellbrookmoor';
## Task Generate a SQL query to answer the following question: `When was Stellbrookmoor established?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `When was Stellbrookmoor established?`: ```sql
SELECT "district_town" FROM "table1_26013618_1" WHERE "area_ha"='163,62';
## Task Generate a SQL query to answer the following question: `What town has the reserve with an area of 163,62?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `What town has the reserve with an area of 163,62?`: ```sql
SELECT COUNT("nsg_nr") FROM "table1_26013618_1" WHERE "district_town"='Herzogtum Lauenburg' AND "area_ha"='123,14';
## Task Generate a SQL query to answer the following question: `How many reserves are in Herzogtum Lauenburg with an area of 123,14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `How many reserves are in Herzogtum Lauenburg with an area of 123,14?`: ```sql
SELECT COUNT("name_of_the_nature_reserve") FROM "table1_26013618_1" WHERE "nsg_nr"=54;
## Task Generate a SQL query to answer the following question: `How many names does nature reserve 54 have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26013618_1" ( "nsg_nr" real, "name_of_the_nature_reserve" text, "district_town" text, "area_ha" text, "date_established" text ); ### SQL Given the database schema, here is the SQL query that answers `How many names does nature reserve 54 have?`: ```sql
SELECT "title" FROM "table1_25996938_1" WHERE "u_s_viewers_million"='18.74';
## Task Generate a SQL query to answer the following question: `Which episode did 18.74 million people tune in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25996938_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Which episode did 18.74 million people tune in?`: ```sql
SELECT "production_code" FROM "table1_25996938_1" WHERE "no_in_series"=11;
## Task Generate a SQL query to answer the following question: `Which prod code was series 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_25996938_1" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Which prod code was series 11?`: ```sql
SELECT MAX("localities") FROM "table1_26007767_1";
## Task Generate a SQL query to answer the following question: `What is the highest localities?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26007767_1" ( "metropolitan_ring" text, "localities" real, "total" real, "jews_and_others_1" real, "thereof_jews" real, "arabs" real, "population_density_per_km" text, "annual_population_growth_rate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest localities?`: ```sql
SELECT MIN("arabs") FROM "table1_26007767_1" WHERE "metropolitan_ring"='Inner Ring 3';
## Task Generate a SQL query to answer the following question: `What is the least arabs when the metropolitan ring is inner ring 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26007767_1" ( "metropolitan_ring" text, "localities" real, "total" real, "jews_and_others_1" real, "thereof_jews" real, "arabs" real, "population_density_per_km" text, "annual_population_growth_rate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the least arabs when the metropolitan ring is inner ring 3?`: ```sql
SELECT COUNT("localities") FROM "table1_26007767_1" WHERE "population_density_per_km"='2.5';
## Task Generate a SQL query to answer the following question: `How many time is the population density (per km²) is 2.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26007767_1" ( "metropolitan_ring" text, "localities" real, "total" real, "jews_and_others_1" real, "thereof_jews" real, "arabs" real, "population_density_per_km" text, "annual_population_growth_rate" text ); ### SQL Given the database schema, here is the SQL query that answers `How many time is the population density (per km²) is 2.5?`: ```sql
SELECT "metropolitan_ring" FROM "table1_26007767_1" WHERE "thereof_jews"=30600;
## Task Generate a SQL query to answer the following question: `What is the metropolitan ring when thereof: jews is 30600?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26007767_1" ( "metropolitan_ring" text, "localities" real, "total" real, "jews_and_others_1" real, "thereof_jews" real, "arabs" real, "population_density_per_km" text, "annual_population_growth_rate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the metropolitan ring when thereof: jews is 30600?`: ```sql
SELECT COUNT("stage") FROM "classification_leadership" WHERE "teams_classification"='Cervélo TestTeam';
## Task Generate a SQL query to answer the following question: `What is the number of stages where the teams classification leader is Cervélo Testteam?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "teams_classification" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of stages where the teams classification leader is Cervélo Testteam?`: ```sql
SELECT MAX("stage") FROM "classification_leadership" WHERE "teams_classification"='Team Sky';
## Task Generate a SQL query to answer the following question: `How many stages did Team Sky lead the teams classification?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "teams_classification" text ); ### SQL Given the database schema, here is the SQL query that answers `How many stages did Team Sky lead the teams classification?`: ```sql
SELECT "general_classification" FROM "classification_leadership" WHERE "stage"=3;
## Task Generate a SQL query to answer the following question: `Who leads the general classification in stage 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "teams_classification" text ); ### SQL Given the database schema, here is the SQL query that answers `Who leads the general classification in stage 3?`: ```sql
SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "no"=45;
## Task Generate a SQL query to answer the following question: `How many production codes are there for episode number 45?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `How many production codes are there for episode number 45?`: ```sql
SELECT "writer_s" FROM "table1_2602958_4" WHERE "num"=6;
## Task Generate a SQL query to answer the following question: `Who wrote episode 6 in season 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote episode 6 in season 3?`: ```sql
SELECT "num" FROM "table1_2602958_4" WHERE "prod_code"=175020;
## Task Generate a SQL query to answer the following question: `Which episodein season 3 had 175020 for a production code?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Which episodein season 3 had 175020 for a production code?`: ```sql
SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "title"='\"Keg! Max!\"';
## Task Generate a SQL query to answer the following question: `How many production codes does the episode "keg! max!" have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `How many production codes does the episode "keg! max!" have?`: ```sql
SELECT "original_air_date" FROM "table1_2602958_4" WHERE "title"='\"They Shoot Gilmores, Don''t They?\"';
## Task Generate a SQL query to answer the following question: `What was the original air date of "they shoot gilmores, don't they?"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the original air date of "they shoot gilmores, don't they?"`: ```sql
SELECT "writer_s" FROM "table1_2602958_4" WHERE "no"=45;
## Task Generate a SQL query to answer the following question: `Who wrote episode number 45?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_4" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote episode number 45?`: ```sql
SELECT "director" FROM "table1_2602958_3" WHERE "title"='\"Hammers and Veils\"';
## Task Generate a SQL query to answer the following question: `Who directed the episode "hammers and veils"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_3" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed the episode "hammers and veils"?`: ```sql
SELECT "u_s_viewers_million" FROM "table1_2602958_3" WHERE "no"=38;
## Task Generate a SQL query to answer the following question: `How many viewers in millions for episode number 38?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_3" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `How many viewers in millions for episode number 38?`: ```sql
SELECT "director" FROM "table1_2602958_3" WHERE "prod_code"=227451;
## Task Generate a SQL query to answer the following question: `Who directed the episode with production code 227451?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_3" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed the episode with production code 227451?`: ```sql
SELECT "original_air_date" FROM "table1_2602958_3" WHERE "director"='Kevin Dowling';
## Task Generate a SQL query to answer the following question: `What is the original air date for the episode directed by kevin dowling?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_3" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the original air date for the episode directed by kevin dowling?`: ```sql
SELECT COUNT("original_air_date") FROM "table1_2602958_3" WHERE "title"='\"Like Mother, Like Daughter\"';
## Task Generate a SQL query to answer the following question: `How many episodes are titled "like mother, like daughter"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_3" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes are titled "like mother, like daughter"?`: ```sql
SELECT "ba_running_bear" FROM "table1_2603017_2" WHERE "b_bishop"='RN - Running Stag';
## Task Generate a SQL query to answer the following question: `what is ba - running bear where b - bishop is rn - running stag?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is ba - running bear where b - bishop is rn - running stag?`: ```sql
SELECT "b_bishop" FROM "table1_2603017_2" WHERE "ab_angry_boar"='VW - Vertical Wolf';
## Task Generate a SQL query to answer the following question: `what is b - bishop where ab - angry boar is vw - vertical wolf?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is b - bishop where ab - angry boar is vw - vertical wolf?`: ```sql
SELECT "ba_running_bear" FROM "table1_2603017_2" WHERE "ab_angry_boar"='OS - Ox Soldier';
## Task Generate a SQL query to answer the following question: `what is ba - running bear where ab - angry boar is os - ox soldier?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is ba - running bear where ab - angry boar is os - ox soldier?`: ```sql
SELECT "b_bishop" FROM "table1_2603017_2" WHERE "bc_beast_cadet"='GR - Great Dove';
## Task Generate a SQL query to answer the following question: `what is b - bishop where bc - beast cadet is gr - great dove?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is b - bishop where bc - beast cadet is gr - great dove?`: ```sql
SELECT "bb_blind_bear" FROM "table1_2603017_2" WHERE "ba_running_bear"='MF - Mountain Falcon';
## Task Generate a SQL query to answer the following question: `what is bb - blind bear where ba - running bear is mf - mountain falcon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is bb - blind bear where ba - running bear is mf - mountain falcon?`: ```sql
SELECT "bb_blind_bear" FROM "table1_2603017_2" WHERE "ba_running_bear"='TC - Tile Chariot';
## Task Generate a SQL query to answer the following question: `what is bb - blind bear where ba - running bear is tc - tile chariot?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2603017_2" ( "ab_angry_boar" text, "b_bishop" text, "ba_running_bear" text, "bb_blind_bear" text, "bc_beast_cadet" text ); ### SQL Given the database schema, here is the SQL query that answers `what is bb - blind bear where ba - running bear is tc - tile chariot?`: ```sql
SELECT MIN("die_size_mm_2") FROM "table1_26040604_1" WHERE "sm_count"=2;
## Task Generate a SQL query to answer the following question: `What is the minimum die size for an SM count of exactly 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26040604_1" ( "model" text, "launch" text, "code_name" text, "transistors_million" real, "die_size_mm_2" real, "bus_interface" text, "memory_mb" text, "sm_count" real, "core_config_1_3" text, "core_m_hz" real, "shader_m_hz" real, "memory_m_hz" text, "pixel_gp_s" text, "texture_gt_s" text, "bandwidth_gb_s" text, "dram_type" text, "bus_width_bit" real, "gflops_fma_2" text, "tdp_watts" real, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the minimum die size for an SM count of exactly 2?`: ```sql
SELECT COUNT("die_size_mm_2") FROM "table1_26040604_1" WHERE "texture_gt_s"='34';
## Task Generate a SQL query to answer the following question: `How many die sizes have a texture of exactly 34?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26040604_1" ( "model" text, "launch" text, "code_name" text, "transistors_million" real, "die_size_mm_2" real, "bus_interface" text, "memory_mb" text, "sm_count" real, "core_config_1_3" text, "core_m_hz" real, "shader_m_hz" real, "memory_m_hz" text, "pixel_gp_s" text, "texture_gt_s" text, "bandwidth_gb_s" text, "dram_type" text, "bus_width_bit" real, "gflops_fma_2" text, "tdp_watts" real, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `How many die sizes have a texture of exactly 34?`: ```sql
SELECT "model" FROM "table1_26040604_1" WHERE "launch"='September 3, 2010';
## Task Generate a SQL query to answer the following question: `What model has a launch of September 3, 2010?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26040604_1" ( "model" text, "launch" text, "code_name" text, "transistors_million" real, "die_size_mm_2" real, "bus_interface" text, "memory_mb" text, "sm_count" real, "core_config_1_3" text, "core_m_hz" real, "shader_m_hz" real, "memory_m_hz" text, "pixel_gp_s" text, "texture_gt_s" text, "bandwidth_gb_s" text, "dram_type" text, "bus_width_bit" real, "gflops_fma_2" text, "tdp_watts" real, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What model has a launch of September 3, 2010?`: ```sql
SELECT "dram_type" FROM "table1_26040604_1" WHERE "sm_count"=6;
## Task Generate a SQL query to answer the following question: `What was the DRAM type of an SM Count of 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26040604_1" ( "model" text, "launch" text, "code_name" text, "transistors_million" real, "die_size_mm_2" real, "bus_interface" text, "memory_mb" text, "sm_count" real, "core_config_1_3" text, "core_m_hz" real, "shader_m_hz" real, "memory_m_hz" text, "pixel_gp_s" text, "texture_gt_s" text, "bandwidth_gb_s" text, "dram_type" text, "bus_width_bit" real, "gflops_fma_2" text, "tdp_watts" real, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the DRAM type of an SM Count of 6?`: ```sql
SELECT "writer_s" FROM "table1_2602958_5" WHERE "num"=8;
## Task Generate a SQL query to answer the following question: `Who wrote the movie positioned at 8 on the list?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_2602958_5" ( "no" real, "num" real, "title" text, "director" text, "writer_s" text, "original_air_date" text, "prod_code" real, "u_s_viewers_million" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote the movie positioned at 8 on the list?`: ```sql
SELECT "passes_through_district_s" FROM "table1_26036389_1" WHERE "mdr_no"=47;
## Task Generate a SQL query to answer the following question: `What district does the road with a MDR number of 47 pass through?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26036389_1" ( "sr_no" real, "name_of_road" text, "passes_through_district_s" text, "length_in_km" text, "mdr_no" real ); ### SQL Given the database schema, here is the SQL query that answers `What district does the road with a MDR number of 47 pass through?`: ```sql
SELECT MIN("mdr_no") FROM "table1_26036389_1" WHERE "name_of_road"='Rait Charhi Dharamshala';
## Task Generate a SQL query to answer the following question: `What is the MDR number of Rait Charhi Dharamshala?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26036389_1" ( "sr_no" real, "name_of_road" text, "passes_through_district_s" text, "length_in_km" text, "mdr_no" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the MDR number of Rait Charhi Dharamshala?`: ```sql
SELECT MAX("sr_no") FROM "table1_26036389_1" WHERE "name_of_road"='Banikhet Dalhouse Khajiar';
## Task Generate a SQL query to answer the following question: `What is the Sr. number of Banikhet Dalhouse Khajiar?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26036389_1" ( "sr_no" real, "name_of_road" text, "passes_through_district_s" text, "length_in_km" text, "mdr_no" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Sr. number of Banikhet Dalhouse Khajiar?`: ```sql
SELECT MIN("runs") FROM "most_career_runs";
## Task Generate a SQL query to answer the following question: `What is the smallest number of runs?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "average" text, "strike_rate" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the smallest number of runs?`: ```sql
SELECT MIN("innings") FROM "most_career_runs" WHERE "average"='32.3';
## Task Generate a SQL query to answer the following question: `How many innings are there when the average is 32.3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "average" text, "strike_rate" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `How many innings are there when the average is 32.3?`: ```sql
SELECT "average" FROM "most_career_runs" WHERE "strike_rate"='75.78';
## Task Generate a SQL query to answer the following question: `What was the average when the strike rate is 75.78?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_career_runs" ( "rank" real, "runs" real, "average" text, "strike_rate" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the average when the strike rate is 75.78?`: ```sql
SELECT MAX("catches") FROM "most_dismissals_catches_plus_stumpings_i";
## Task Generate a SQL query to answer the following question: `What is the catches maximum number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_dismissals_catches_plus_stumpings_i" ( "rank" real, "dismissals" real, "catches" real, "stumps" real, "player" text, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the catches maximum number?`: ```sql
SELECT MIN("catches") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
## Task Generate a SQL query to answer the following question: `If the player is Hashan Tillakaratne, what is the catches minimum?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_dismissals_catches_plus_stumpings_i" ( "rank" real, "dismissals" real, "catches" real, "stumps" real, "player" text, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `If the player is Hashan Tillakaratne, what is the catches minimum?`: ```sql
SELECT "period" FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
## Task Generate a SQL query to answer the following question: `what is the period if the player is Hashan Tillakaratne?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_dismissals_catches_plus_stumpings_i" ( "rank" real, "dismissals" real, "catches" real, "stumps" real, "player" text, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the period if the player is Hashan Tillakaratne?`: ```sql
SELECT COUNT("rank") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "player"='Hashan Tillakaratne';
## Task Generate a SQL query to answer the following question: `What is the ranktotal number if the Hashan Tillakaratne?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_dismissals_catches_plus_stumpings_i" ( "rank" real, "dismissals" real, "catches" real, "stumps" real, "player" text, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the ranktotal number if the Hashan Tillakaratne?`: ```sql
SELECT COUNT("rank") FROM "most_dismissals_catches_plus_stumpings_i" WHERE "catches"=131;
## Task Generate a SQL query to answer the following question: `If the catches is 131, what is the rank total number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_dismissals_catches_plus_stumpings_i" ( "rank" real, "dismissals" real, "catches" real, "stumps" real, "player" text, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `If the catches is 131, what is the rank total number?`: ```sql
SELECT MAX("burglary") FROM "crime_statistics_1995_2011_non_homicide" WHERE "property_crimes"=168630;
## Task Generate a SQL query to answer the following question: `What was the maximum burglary statistics if the property crimes is 168630?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "crime_statistics_1995_2011_non_homicide" ( "year" real, "population" real, "total" real, "violent" real, "property_crimes" real, "forcible_rape" real, "robbery" real, "aggravated_assault" real, "burglary" real, "larceny_theft" real, "vehicle_theft" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the maximum burglary statistics if the property crimes is 168630?`: ```sql
SELECT "burglary" FROM "crime_statistics_1995_2011_non_homicide" WHERE "forcible_rape"=1233;
## Task Generate a SQL query to answer the following question: `How many burglary crimes were committed if the forcible rapes were 1233?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "crime_statistics_1995_2011_non_homicide" ( "year" real, "population" real, "total" real, "violent" real, "property_crimes" real, "forcible_rape" real, "robbery" real, "aggravated_assault" real, "burglary" real, "larceny_theft" real, "vehicle_theft" real ); ### SQL Given the database schema, here is the SQL query that answers `How many burglary crimes were committed if the forcible rapes were 1233?`: ```sql
SELECT COUNT("vehicle_theft") FROM "crime_statistics_1995_2011_non_homicide" WHERE "forcible_rape"=1232;
## Task Generate a SQL query to answer the following question: `How many vehicle thefts data were recorded if forcible rape is 1232?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "crime_statistics_1995_2011_non_homicide" ( "year" real, "population" real, "total" real, "violent" real, "property_crimes" real, "forcible_rape" real, "robbery" real, "aggravated_assault" real, "burglary" real, "larceny_theft" real, "vehicle_theft" real ); ### SQL Given the database schema, here is the SQL query that answers `How many vehicle thefts data were recorded if forcible rape is 1232?`: ```sql
SELECT COUNT("vehicle_theft") FROM "crime_statistics_1995_2011_non_homicide" WHERE "population"=4465430;
## Task Generate a SQL query to answer the following question: `How many vehicle theft data were recorded for a year with a population of 4465430?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "crime_statistics_1995_2011_non_homicide" ( "year" real, "population" real, "total" real, "violent" real, "property_crimes" real, "forcible_rape" real, "robbery" real, "aggravated_assault" real, "burglary" real, "larceny_theft" real, "vehicle_theft" real ); ### SQL Given the database schema, here is the SQL query that answers `How many vehicle theft data were recorded for a year with a population of 4465430?`: ```sql
SELECT MIN("property_crimes") FROM "crime_statistics_1995_2011_non_homicide" WHERE "burglary"=45350;
## Task Generate a SQL query to answer the following question: `What was the minimum property crimes stats if the burglary committed was 45350?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "crime_statistics_1995_2011_non_homicide" ( "year" real, "population" real, "total" real, "violent" real, "property_crimes" real, "forcible_rape" real, "robbery" real, "aggravated_assault" real, "burglary" real, "larceny_theft" real, "vehicle_theft" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the minimum property crimes stats if the burglary committed was 45350?`: ```sql
SELECT "average" FROM "highest_career_averages" WHERE "player"='Kumar Sangakkara';
## Task Generate a SQL query to answer the following question: `What was kumar sangakkara's average?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_career_averages" ( "rank" real, "average" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What was kumar sangakkara's average?`: ```sql
SELECT "player" FROM "highest_career_averages" WHERE "average"='36.74';
## Task Generate a SQL query to answer the following question: `Who was the player with a 36.74 average?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_career_averages" ( "rank" real, "average" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the player with a 36.74 average?`: ```sql
SELECT "rank" FROM "highest_career_averages" WHERE "average"='39.69';
## Task Generate a SQL query to answer the following question: `What is the rank of the player with the 39.69 average?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_career_averages" ( "rank" real, "average" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the rank of the player with the 39.69 average?`: ```sql
SELECT MIN("matches") FROM "highest_career_averages";
## Task Generate a SQL query to answer the following question: `What is the lowest number of matches for a record holder?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_career_averages" ( "rank" real, "average" text, "player" text, "matches" real, "innings" real, "period" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest number of matches for a record holder?`: ```sql
SELECT "h_264" FROM "table1_26099252_1" WHERE "theora"='2.3';
## Task Generate a SQL query to answer the following question: `When theora is 2.3, how much is the h.264?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26099252_1" ( "browser" text, "operating_system" text, "latest_stable_release" text, "theora" text, "h_264" text, "vp8_web_m" text, "vp9_web_m" text ); ### SQL Given the database schema, here is the SQL query that answers `When theora is 2.3, how much is the h.264?`: ```sql
SELECT "vp9_web_m" FROM "table1_26099252_1" WHERE "vp8_web_m"='6.0';
## Task Generate a SQL query to answer the following question: `When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26099252_1" ( "browser" text, "operating_system" text, "latest_stable_release" text, "theora" text, "h_264" text, "vp8_web_m" text, "vp9_web_m" text ); ### SQL Given the database schema, here is the SQL query that answers `When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )?`: ```sql
SELECT "vp9_web_m" FROM "table1_26099252_1" WHERE "vp8_web_m"='4.4';
## Task Generate a SQL query to answer the following question: `When vp8 ( webm ) is 4.4, how much is vp9 ( webm )` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26099252_1" ( "browser" text, "operating_system" text, "latest_stable_release" text, "theora" text, "h_264" text, "vp8_web_m" text, "vp9_web_m" text ); ### SQL Given the database schema, here is the SQL query that answers `When vp8 ( webm ) is 4.4, how much is vp9 ( webm )`: ```sql
SELECT "latest_stable_release" FROM "table1_26099252_1" WHERE "vp9_web_m"='No' AND "h_264"='3.0';
## Task Generate a SQL query to answer the following question: `What is the last stable version where the h.264 is 3.0 and vp9 (webm) is no.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26099252_1" ( "browser" text, "operating_system" text, "latest_stable_release" text, "theora" text, "h_264" text, "vp8_web_m" text, "vp9_web_m" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the last stable version where the h.264 is 3.0 and vp9 (webm) is no.`: ```sql
SELECT "vp9_web_m" FROM "table1_26099252_1" WHERE "h_264"='9.0';
## Task Generate a SQL query to answer the following question: `When h.264 is 9.0, how much is vp9 ( webm )` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26099252_1" ( "browser" text, "operating_system" text, "latest_stable_release" text, "theora" text, "h_264" text, "vp8_web_m" text, "vp9_web_m" text ); ### SQL Given the database schema, here is the SQL query that answers `When h.264 is 9.0, how much is vp9 ( webm )`: ```sql
SELECT "peletier" FROM "see_also" WHERE "systematics"='Million 1';
## Task Generate a SQL query to answer the following question: `Name the peletier for systematics being million 1` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "shortscale_comparison" text, "chuquet" text, "peletier" text, "systematics" text, "base_10" text, "si_prefix" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the peletier for systematics being million 1`: ```sql
SELECT "si_prefix" FROM "see_also" WHERE "chuquet"='thousand';
## Task Generate a SQL query to answer the following question: `Name the si prefix for thousand chuquet` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "shortscale_comparison" text, "chuquet" text, "peletier" text, "systematics" text, "base_10" text, "si_prefix" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the si prefix for thousand chuquet`: ```sql
SELECT "base_10" FROM "see_also" WHERE "peletier"='Bi llion';
## Task Generate a SQL query to answer the following question: `Name the base 10 for peletier for bi llion` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "shortscale_comparison" text, "chuquet" text, "peletier" text, "systematics" text, "base_10" text, "si_prefix" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the base 10 for peletier for bi llion`: ```sql
SELECT COUNT("peletier") FROM "see_also" WHERE "shortscale_comparison"='Billion';
## Task Generate a SQL query to answer the following question: `Name the total number of peletier for shortscale comparison billion` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "shortscale_comparison" text, "chuquet" text, "peletier" text, "systematics" text, "base_10" text, "si_prefix" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of peletier for shortscale comparison billion`: ```sql
SELECT "base_10" FROM "see_also" WHERE "shortscale_comparison"='Billion';
## Task Generate a SQL query to answer the following question: `Name the base 10 for shortscale comparison for billion` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "shortscale_comparison" text, "chuquet" text, "peletier" text, "systematics" text, "base_10" text, "si_prefix" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the base 10 for shortscale comparison for billion`: ```sql
SELECT "branding" FROM "studio_23" WHERE "callsign"='DWBA-TV';
## Task Generate a SQL query to answer the following question: `What is the branding of the callsign DWBA-TV?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio_23" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the branding of the callsign DWBA-TV?`: ```sql
SELECT "station_type" FROM "studio_23" WHERE "callsign"='DWMC-TV';
## Task Generate a SQL query to answer the following question: `What is the station type of DWMC-TV?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio_23" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the station type of DWMC-TV?`: ```sql
SELECT "location_transmitter_site" FROM "studio_23" WHERE "power_k_w_erp"='5kW (10kW ERP)';
## Task Generate a SQL query to answer the following question: `What is the location that has a power of 5kw (10kw ERP)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio_23" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the location that has a power of 5kw (10kw ERP)?`: ```sql
SELECT "power_k_w_erp" FROM "studio_23" WHERE "ch_num"='TV-23' AND "callsign"='DYCG-TV';
## Task Generate a SQL query to answer the following question: `What is the power, in kW, of channel TV-23, callsign DYCG-TV?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio_23" ( "branding" text, "callsign" text, "ch_num" text, "station_type" text, "power_k_w_erp" text, "location_transmitter_site" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the power, in kW, of channel TV-23, callsign DYCG-TV?`: ```sql
SELECT "power_k_w" FROM "regional" WHERE "location"='General Santos';
## Task Generate a SQL query to answer the following question: `What's the power for General Santos?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regional" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the power for General Santos?`: ```sql
SELECT "branding" FROM "regional" WHERE "callsign"='DYTC-FM';
## Task Generate a SQL query to answer the following question: `What bran is the callsign dytc-fm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regional" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `What bran is the callsign dytc-fm?`: ```sql
SELECT "frequency" FROM "regional" WHERE "callsign"='DXEC-FM';
## Task Generate a SQL query to answer the following question: `What frequency is dxec-fm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regional" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `What frequency is dxec-fm?`: ```sql
SELECT "opponent" FROM "2013_season" WHERE "rushing_yards"=117;
## Task Generate a SQL query to answer the following question: `Who was the opponent when there was 117 rushing yards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_season" ( "rank" real, "player" text, "year" real, "opponent" text, "passing_yards" real, "rushing_yards" real, "total_offense" real ); ### SQL Given the database schema, here is the SQL query that answers `Who was the opponent when there was 117 rushing yards?`: ```sql
SELECT MIN("year") FROM "2013_season";
## Task Generate a SQL query to answer the following question: `What was the earliest year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_season" ( "rank" real, "player" text, "year" real, "opponent" text, "passing_yards" real, "rushing_yards" real, "total_offense" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the earliest year?`: ```sql
SELECT "opponent" FROM "2013_season" WHERE "rushing_yards"=81;
## Task Generate a SQL query to answer the following question: `Who was the opponent when there was 81 rushing yards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_season" ( "rank" real, "player" text, "year" real, "opponent" text, "passing_yards" real, "rushing_yards" real, "total_offense" real ); ### SQL Given the database schema, here is the SQL query that answers `Who was the opponent when there was 81 rushing yards?`: ```sql
SELECT "rushing_yards" FROM "2013_season" WHERE "opponent"='Indiana' AND "passing_yards"=503;
## Task Generate a SQL query to answer the following question: `How many rushing yards where there when the opponent was Indiana and there was 503 passing yards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_season" ( "rank" real, "player" text, "year" real, "opponent" text, "passing_yards" real, "rushing_yards" real, "total_offense" real ); ### SQL Given the database schema, here is the SQL query that answers `How many rushing yards where there when the opponent was Indiana and there was 503 passing yards?`: ```sql
SELECT "opponent" FROM "2013_season" WHERE "player"='Devin Gardner';
## Task Generate a SQL query to answer the following question: `Who was the opponent when Devin Gardner was the player?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_season" ( "rank" real, "player" text, "year" real, "opponent" text, "passing_yards" real, "rushing_yards" real, "total_offense" real ); ### SQL Given the database schema, here is the SQL query that answers `Who was the opponent when Devin Gardner was the player?`: ```sql
SELECT "points" FROM "career_summary" WHERE "team"='Pole Services';
## Task Generate a SQL query to answer the following question: `How many points were scored on pole services?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "podiums" real, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `How many points were scored on pole services?`: ```sql
SELECT "team" FROM "career_summary" WHERE "series"='Championnat de France Formula Renault 2.0';
## Task Generate a SQL query to answer the following question: `How many teams were in the series championnat de france formula renault 2.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" real, "series" text, "team" text, "races" real, "wins" real, "podiums" real, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `How many teams were in the series championnat de france formula renault 2.0?`: ```sql
SELECT "area_km_2" FROM "bukidnon" WHERE "population_2010"=153085;
## Task Generate a SQL query to answer the following question: `What is the area (km2) for the place with a 2010 population of 153085?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bukidnon" ( "city_municipality" text, "date_of_creation" text, "area_km_2" text, "population_2010" real, "income_classification_dof" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the area (km2) for the place with a 2010 population of 153085?`: ```sql
SELECT COUNT("city_municipality") FROM "bukidnon" WHERE "area_km_2"='506.64';
## Task Generate a SQL query to answer the following question: `How many city/municipalties have an area (km2) of 506.64?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bukidnon" ( "city_municipality" text, "date_of_creation" text, "area_km_2" text, "population_2010" real, "income_classification_dof" text ); ### SQL Given the database schema, here is the SQL query that answers `How many city/municipalties have an area (km2) of 506.64?`: ```sql
SELECT COUNT("population_2010") FROM "bukidnon" WHERE "area_km_2"='409.41';
## Task Generate a SQL query to answer the following question: `How many places have an area of 409.41 (km2)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bukidnon" ( "city_municipality" text, "date_of_creation" text, "area_km_2" text, "population_2010" real, "income_classification_dof" text ); ### SQL Given the database schema, here is the SQL query that answers `How many places have an area of 409.41 (km2)?`: ```sql
SELECT "date_of_creation" FROM "bukidnon" WHERE "city_municipality"='Kibawe';
## Task Generate a SQL query to answer the following question: `What day was kibawe created?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bukidnon" ( "city_municipality" text, "date_of_creation" text, "area_km_2" text, "population_2010" real, "income_classification_dof" text ); ### SQL Given the database schema, here is the SQL query that answers `What day was kibawe created?`: ```sql
SELECT COUNT("area_km_2") FROM "bukidnon" WHERE "city_municipality"='Manolo Fortich';
## Task Generate a SQL query to answer the following question: `How many places are named manolo fortich?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "bukidnon" ( "city_municipality" text, "date_of_creation" text, "area_km_2" text, "population_2010" real, "income_classification_dof" text ); ### SQL Given the database schema, here is the SQL query that answers `How many places are named manolo fortich?`: ```sql
SELECT "player" FROM "super_draft" WHERE "previous_college_team"='Project-40';
## Task Generate a SQL query to answer the following question: `Which player for Project-40 in his college team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "super_draft" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "previous_college_team" text ); ### SQL Given the database schema, here is the SQL query that answers `Which player for Project-40 in his college team?`: ```sql
SELECT "position" FROM "super_draft" WHERE "team"='Dallas Burn';
## Task Generate a SQL query to answer the following question: `Dallas Burn's draft pick was which position?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "super_draft" ( "season" real, "player" text, "position" text, "nationality" text, "team" text, "previous_college_team" text ); ### SQL Given the database schema, here is the SQL query that answers `Dallas Burn's draft pick was which position?`: ```sql
SELECT "written_by" FROM "table1_26136228_3" WHERE "u_s_viewers_millions"='1.08';
## Task Generate a SQL query to answer the following question: `Who wrote the episode that had 1.08 million U.S. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26136228_3" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `Who wrote the episode that had 1.08 million U.S. viewers?`: ```sql
SELECT "directed_by" FROM "table1_26136228_3" WHERE "series_no"=11;
## Task Generate a SQL query to answer the following question: `Who directed episode 11 in the series?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26136228_3" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed episode 11 in the series?`: ```sql
SELECT MAX("episode_no") FROM "table1_26136228_3" WHERE "u_s_viewers_millions"='1.05';
## Task Generate a SQL query to answer the following question: `What episode number in the season had 1.05 million U.S. viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_26136228_3" ( "series_no" real, "episode_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What episode number in the season had 1.05 million U.S. viewers?`: ```sql
SELECT "title" FROM "episodes" WHERE "viewers_in_millions"='8.51';
## Task Generate a SQL query to answer the following question: `What is the name of the episode that had 8.51 million viewers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episodes" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the episode that had 8.51 million viewers?`: ```sql