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