text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "night" ( "time" text, "06_00_pm" text, "07_00_pm" text, "08_00_pm" text, "09_00_pm" text, "10_00_pm" text, "10_30_pm" text, "11_00_pm" text ); Question: Name the 8 pm when time is thursday <|assistant|> SELECT "08_00_pm" FROM "night" WHERE "time"='Thursday';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: What channel tv (dt) plays the KPIX station? <|assistant|> SELECT "channel_tv_dt" FROM "television_stations" WHERE "station"='KPIX';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which city of license/market has 3 (26) as their channel tv (dt)? <|assistant|> SELECT "city_of_license_market" FROM "television_stations" WHERE "channel_tv_dt"='3 (26)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which channel tv (dt) plays in San Francisco - Oakland - San Jose? <|assistant|> SELECT "channel_tv_dt" FROM "television_stations" WHERE "city_of_license_market"='San Francisco - Oakland - San Jose';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: How many years has station KPIX been owned? <|assistant|> SELECT COUNT("years_owned") FROM "television_stations" WHERE "station"='KPIX';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Which city of license/market plays 3 (26)? <|assistant|> SELECT "city_of_license_market" FROM "television_stations" WHERE "channel_tv_dt"='3 (26)';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text ); Question: Who currently affiliates in San Francisco - Oakland - San Jose? <|assistant|> SELECT "current_affiliation" FROM "television_stations" WHERE "city_of_license_market"='San Francisco - Oakland - San Jose';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: In which condition(s) is bleeding time prolonged and prothrombin time unaffected? <|assistant|> SELECT "condition" FROM "laboratory_findings_in_various_platelet_" WHERE "bleeding_time"='Prolonged' AND "prothrombin_time"='Unaffected';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: How many entries for prothrombin time are there where platelet count is "decreased or unaffected"? <|assistant|> SELECT COUNT("prothrombin_time") FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased or unaffected';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: How is the bleeding time wherein platelet count is decreased and prothrombin time is unaffected? <|assistant|> SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "platelet_count"='Decreased' AND "prothrombin_time"='Unaffected';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: What are all the possible bleeding time results where prothrombin time and platelet count are both unaffected? <|assistant|> SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "prothrombin_time"='Unaffected' AND "platelet_count"='Unaffected';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: What is the percentage of land area in the ecozone that the percentage protected is 7.96? <|assistant|> SELECT "percentage_of_land_area" FROM "table1_15555661_2" WHERE "percentage_protected"='7.96';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: What is the percentage of total area in the ecozone that the percentage of land area is 2.2? <|assistant|> SELECT "percentage_of_total_area" FROM "table1_15555661_2" WHERE "percentage_of_land_area"='2.2';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: What is the percentage of total area in the ecozone that the percentage protected is 8.06? <|assistant|> SELECT "percentage_of_total_area" FROM "table1_15555661_2" WHERE "percentage_protected"='8.06';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: What is the percentage of land area in the ecozone that the percentage protected is 15.28? <|assistant|> SELECT "percentage_of_land_area" FROM "table1_15555661_2" WHERE "percentage_protected"='15.28';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: How large is the Boreal Shield in km2? <|assistant|> SELECT COUNT("area_km") FROM "table1_15555661_2" WHERE "ecozone"='Boreal Shield';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15555661_2" ( "ecozone" text, "area_km" real, "percentage_of_total_area" text, "percentage_of_land_area" text, "percentage_protected" text ); Question: What is the percentage of total area in the ecozone that the area is 1782252 km2? <|assistant|> SELECT "percentage_of_total_area" FROM "table1_15555661_2" WHERE "area_km"=1782252;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: What is the condition of the platelet counts in hemophilia? <|assistant|> SELECT "platelet_count" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Hemophilia';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: What is the prothrombin time in Von willebrand disease? <|assistant|> SELECT "prothrombin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Von Willebrand disease';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: If the partial thromboplastin and bleeding time is prolonged, what is the prothrombin time? <|assistant|> SELECT "prothrombin_time" FROM "laboratory_findings_in_various_platelet_" WHERE "partial_thromboplastin_time"='Prolonged' AND "bleeding_time"='Prolonged';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "laboratory_findings_in_various_platelet_" ( "condition" text, "prothrombin_time" text, "partial_thromboplastin_time" text, "bleeding_time" text, "platelet_count" text ); Question: What is the bleeding time in Bernard-soulier syndrome? <|assistant|> SELECT "bleeding_time" FROM "laboratory_findings_in_various_platelet_" WHERE "condition"='Bernard-Soulier syndrome';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "ring_name" text, "current_rank" text, "debut" text, "stable" text, "birthplace" text, "career_and_other_notes" text ); Question: Which ring names are currently ranked f0 jūryō 3 west? <|assistant|> SELECT "ring_name" FROM "list" WHERE "current_rank"='f0 Jūryō 3 West';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "ring_name" text, "current_rank" text, "debut" text, "stable" text, "birthplace" text, "career_and_other_notes" text ); Question: How many wrestlers were born in nara, and have a completed 'career and other notes' section? <|assistant|> SELECT COUNT("career_and_other_notes") FROM "list" WHERE "birthplace"='Nara';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "ring_name" text, "current_rank" text, "debut" text, "stable" text, "birthplace" text, "career_and_other_notes" text ); Question: What are the debut year for wrestlers born in Nara? <|assistant|> SELECT "debut" FROM "list" WHERE "birthplace"='Nara';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "ring_name" text, "current_rank" text, "debut" text, "stable" text, "birthplace" text, "career_and_other_notes" text ); Question: Where were the wrestlers born who debuted in 2002-7? <|assistant|> SELECT "birthplace" FROM "list" WHERE "debut"='2002-7';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "ring_name" text, "current_rank" text, "debut" text, "stable" text, "birthplace" text, "career_and_other_notes" text ); Question: What are the career and other notes for wrestlers whose stable is oguruma? <|assistant|> SELECT "career_and_other_notes" FROM "list" WHERE "stable"='Oguruma';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kinship_terms" ( "kinship" text, "proto_austronesian" text, "proto_malayo_polynesian" text, "proto_oceanic" text, "proto_polynesian" text ); Question: Name the kinship for *t-ina <|assistant|> SELECT "kinship" FROM "kinship_terms" WHERE "proto_malayo_polynesian"='*t-ina';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kinship_terms" ( "kinship" text, "proto_austronesian" text, "proto_malayo_polynesian" text, "proto_oceanic" text, "proto_polynesian" text ); Question: Name the number of proto austronesian for *natu <|assistant|> SELECT COUNT("proto_austronesian") FROM "kinship_terms" WHERE "proto_oceanic"='*natu';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kinship_terms" ( "kinship" text, "proto_austronesian" text, "proto_malayo_polynesian" text, "proto_oceanic" text, "proto_polynesian" text ); Question: Name the ptor-austronesian for father <|assistant|> SELECT "proto_austronesian" FROM "kinship_terms" WHERE "kinship"='father';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kinship_terms" ( "kinship" text, "proto_austronesian" text, "proto_malayo_polynesian" text, "proto_oceanic" text, "proto_polynesian" text ); Question: Name the proto oceanic for *fafine <|assistant|> SELECT "proto_oceanic" FROM "kinship_terms" WHERE "proto_polynesian"='*fafine';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kinship_terms" ( "kinship" text, "proto_austronesian" text, "proto_malayo_polynesian" text, "proto_oceanic" text, "proto_polynesian" text ); Question: Name the proto-austrronesian for *pine, *papine <|assistant|> SELECT "proto_austronesian" FROM "kinship_terms" WHERE "proto_oceanic"='*pine, *papine';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15584067_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Name who wrote number 47 <|assistant|> SELECT "written_by" FROM "table1_15584067_4" WHERE "no_in_series"=47;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "early_u_s_unmanned_lunar_missions_1958_1" ( "u_s_mission" text, "mass_kg" real, "launch_vehicle" text, "launched" text, "mission_goal" text, "mission_result" text ); Question: What is the largest mass(kg)? <|assistant|> SELECT MAX("mass_kg") FROM "early_u_s_unmanned_lunar_missions_1958_1";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15582870_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: Which college did draft pick #143 attend? <|assistant|> SELECT "college" FROM "table1_15582870_1" WHERE "choice"=143;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15582870_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: How heavy were the players who attended Arkansas? <|assistant|> SELECT "weight" FROM "table1_15582870_1" WHERE "college"='Arkansas';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15582870_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: Which college did the player weighing 207 pounds attend? <|assistant|> SELECT "college" FROM "table1_15582870_1" WHERE "weight"=207;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15584067_7" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Name who wrote the episode when the viewers was 1.81 <|assistant|> SELECT "written_by" FROM "table1_15584067_7" WHERE "u_s_viewers_million"='1.81';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15584067_7" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Name who directed the 114 episode in the series <|assistant|> SELECT "directed_by" FROM "table1_15584067_7" WHERE "no_in_series"='114';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15584067_7" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Name the total number of air dates for 102 episode <|assistant|> SELECT COUNT("original_air_date") FROM "table1_15584067_7" WHERE "no_in_series"='102';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15584067_7" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_million" text ); Question: Name who wrote the 11 number in the season <|assistant|> SELECT "written_by" FROM "table1_15584067_7" WHERE "no_in_season"='11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recent_winners" ( "year_theme" text, "award_name" text, "team_name" text, "team_number" real, "city_state_country" text ); Question: Name the award name for black ocean current <|assistant|> SELECT "award_name" FROM "recent_winners" WHERE "team_name"='BLACK OCEAN CURRENT';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15592941_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: What position(s) do players from florida state play? <|assistant|> SELECT "position" FROM "table1_15592941_1" WHERE "college"='Florida State';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15592941_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: How much does geno hayes weigh? <|assistant|> SELECT "weight" FROM "table1_15592941_1" WHERE "player_name"='Geno Hayes';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_15592941_1" ( "round" real, "choice" real, "player_name" text, "position" text, "height" text, "weight" real, "college" text ); Question: What college did jeremy zuttah attend? <|assistant|> SELECT "college" FROM "table1_15592941_1" WHERE "player_name"='Jeremy Zuttah';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Question: What was brian rafuse's pf? <|assistant|> SELECT "pf" FROM "round_robin_standings" WHERE "skip"='Brian Rafuse';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_robin_standings" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Question: When the stolen ends equal 5 whats the amount of pa? <|assistant|> SELECT MAX("pa") FROM "round_robin_standings" WHERE "stolen_ends"=5;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_clubs_2014_season" ( "club" text, "position_in_2013" text, "first_season" real, "first_season_of_current_spell" real, "number_of_seasons_in_superettan" real, "number_of_seasons_in_second_tier" text ); Question: What position is the player whose first year is 2014 <|assistant|> SELECT "position_in_2013" FROM "current_clubs_2014_season" WHERE "first_season"=2014;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_clubs_2014_season" ( "club" text, "position_in_2013" text, "first_season" real, "first_season_of_current_spell" real, "number_of_seasons_in_superettan" real, "number_of_seasons_in_second_tier" text ); Question: What was the players position in 2013 who had 29 seasons in the second tier <|assistant|> SELECT "position_in_2013" FROM "current_clubs_2014_season" WHERE "number_of_seasons_in_second_tier"='29';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_clubs_2014_season" ( "club" text, "position_in_2013" text, "first_season" real, "first_season_of_current_spell" real, "number_of_seasons_in_superettan" real, "number_of_seasons_in_second_tier" text ); Question: What was the first season for Syrianska FC <|assistant|> SELECT "first_season" FROM "current_clubs_2014_season" WHERE "club"='Syrianska FC';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_clubs_2014_season" ( "club" text, "position_in_2013" text, "first_season" real, "first_season_of_current_spell" real, "number_of_seasons_in_superettan" real, "number_of_seasons_in_second_tier" text ); Question: What was the earliest season recorded for any team <|assistant|> SELECT MIN("first_season") FROM "current_clubs_2014_season";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the number of points for october 11 <|assistant|> SELECT MAX("points_for") FROM "schedule" WHERE "date"='October 11';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the date for week 9 <|assistant|> SELECT "date" FROM "schedule" WHERE "week"=9;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the points against for november 7 <|assistant|> SELECT "points_against" FROM "schedule" WHERE "date"='November 7';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the points against for november 14 <|assistant|> SELECT "points_against" FROM "schedule" WHERE "date"='November 14';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the first downs for points against being 0 <|assistant|> SELECT "first_downs" FROM "schedule" WHERE "points_against"=0;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "result" text, "record" text, "opponent" text, "points_for" real, "points_against" real, "first_downs" real, "attendance" real ); Question: Name the record for new york giants <|assistant|> SELECT "record" FROM "schedule" WHERE "opponent"='New York Giants';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "margin_of_victory" text, "tournament_location" text, "purse_us" real, "winners_share" real ); Question: Name the least purse for 2011 <|assistant|> SELECT MIN("purse_us") FROM "winners" WHERE "year"=2011;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lner" ( "class" text, "wheel_arrangement" text, "railway" text, "number_at_doncaster" real, "number_at_pyewipe" real, "number_at_march" real ); Question: Name the number of wheel arrangement when class is d14 <|assistant|> SELECT COUNT("wheel_arrangement") FROM "lner" WHERE "class"='D14';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lner" ( "class" text, "wheel_arrangement" text, "railway" text, "number_at_doncaster" real, "number_at_pyewipe" real, "number_at_march" real ); Question: Name the most number of pyewipe <|assistant|> SELECT MAX("number_at_pyewipe") FROM "lner";<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lner" ( "class" text, "wheel_arrangement" text, "railway" text, "number_at_doncaster" real, "number_at_pyewipe" real, "number_at_march" real ); Question: Name the number at march when class is j66 <|assistant|> SELECT "number_at_march" FROM "lner" WHERE "class"='J66';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lner" ( "class" text, "wheel_arrangement" text, "railway" text, "number_at_doncaster" real, "number_at_pyewipe" real, "number_at_march" real ); Question: Name the railway when class is j19 <|assistant|> SELECT "railway" FROM "lner" WHERE "class"='J19';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lner" ( "class" text, "wheel_arrangement" text, "railway" text, "number_at_doncaster" real, "number_at_pyewipe" real, "number_at_march" real ); Question: Name the railway when class is j15 <|assistant|> SELECT "railway" FROM "lner" WHERE "class"='J15';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the years in orlando for penn state <|assistant|> SELECT "years_in_orlando" FROM "a" WHERE "school_club_team"='Penn State';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the nationality of number 9 <|assistant|> SELECT "nationality" FROM "a" WHERE "no"=9;<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the years in orlando for forward <|assistant|> SELECT "years_in_orlando" FROM "k" WHERE "position"='Forward';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the number of players from arizona <|assistant|> SELECT COUNT("player") FROM "k" WHERE "school_club_team"='Arizona';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "k" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the years in orlando that the player from concord hs was in <|assistant|> SELECT "years_in_orlando" FROM "k" WHERE "school_club_team"='Concord HS';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the number of players for louisiana state <|assistant|> SELECT COUNT("player") FROM "o" WHERE "school_club_team"='Louisiana State';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the school/club team for kevin ollie <|assistant|> SELECT "school_club_team" FROM "o" WHERE "player"='Kevin Ollie';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the school/club team for jawann oldham <|assistant|> SELECT "school_club_team" FROM "o" WHERE "player"='Jawann Oldham';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Name the player for seattle <|assistant|> SELECT "player" FROM "o" WHERE "school_club_team"='Seattle';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What is the nationality of th player who's school is Clemson? <|assistant|> SELECT "nationality" FROM "r" WHERE "school_club_team"='Clemson';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What years did the player who's school is Clemson spend in Orlando? <|assistant|> SELECT "years_in_orlando" FROM "r" WHERE "school_club_team"='Clemson';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "r" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What is the number of the player who attended Delta State? <|assistant|> SELECT MAX("no") FROM "r" WHERE "school_club_team"='Delta State';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "b" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: Who plays the position of forward-center? <|assistant|> SELECT "player" FROM "b" WHERE "position"='Forward-Center';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: During what years did Chris Corchiani play in Orlando? <|assistant|> SELECT "years_in_orlando" FROM "c" WHERE "player"='Chris Corchiani';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: When the face value is 42¢, what was the issue's date? <|assistant|> SELECT "date_of_issue" FROM "the_sheets" WHERE "face_value"='42¢';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: Which location has the ecosystem of kelp forest? <|assistant|> SELECT "place_of_issue" FROM "the_sheets" WHERE "ecosystem"='Kelp Forest';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: How many stamps have a face value of 37¢ and were printed in the banknote corporation of america? <|assistant|> SELECT COUNT("no_stamps_in_sheet") FROM "the_sheets" WHERE "face_value"='37¢' AND "printer"='Banknote Corporation of America';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: Who was the printer of Estes Park, Colorado? <|assistant|> SELECT "printer" FROM "the_sheets" WHERE "place_of_issue"='Estes Park, Colorado';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text ); Question: The stamp was 39¢, who was the printer? <|assistant|> SELECT "printer" FROM "the_sheets" WHERE "face_value"='39¢';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: What are values of attendance for the El Paso, TX location? <|assistant|> SELECT "attendance" FROM "summary_table" WHERE "location"='El Paso, TX';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: How many values for result correspond to attendance of 74,111? <|assistant|> SELECT COUNT("result") FROM "summary_table" WHERE "attendance"='74,111';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: How many locations have the Sun Life Stadium? <|assistant|> SELECT COUNT("location") FROM "summary_table" WHERE "stadium"='Sun Life Stadium';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: What is the highest season for a bowl game of the 1993 Independence Bowl? <|assistant|> SELECT MAX("season") FROM "summary_table" WHERE "bowl_game"='1993 Independence Bowl';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent? <|assistant|> SELECT MIN("num") FROM "summary_table" WHERE "location"='Atlanta, GA' AND "opponent"='Georgia Bulldogs';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary_table" ( "num" real, "season" real, "bowl_game" text, "result" text, "opponent" text, "stadium" text, "location" text, "attendance" text ); Question: How many values for attendance correspond to the 1986 Peach Bowl? <|assistant|> SELECT COUNT("attendance") FROM "summary_table" WHERE "bowl_game"='1986 Peach Bowl';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who was the interview subject in the 2-86 issue? <|assistant|> SELECT "interview_subject" FROM "table1_1566848_7" WHERE "date"='2-86';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who were all the pictorials when the centerfold model was Rebekka Armstrong? <|assistant|> SELECT COUNT("pictorials") FROM "table1_1566848_7" WHERE "centerfold_model"='Rebekka Armstrong';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who were the pictorials when the centerfold model was Ava Fabian? <|assistant|> SELECT "pictorials" FROM "table1_1566848_7" WHERE "centerfold_model"='Ava Fabian';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who was the interview subject when the centerfold model was Sherry Arnett? <|assistant|> SELECT COUNT("interview_subject") FROM "table1_1566848_7" WHERE "centerfold_model"='Sherry Arnett';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who was the cover model in the 7-86 issue? <|assistant|> SELECT "cover_model" FROM "table1_1566848_7" WHERE "date"='7-86';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566848_7" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: What is the date of the issue where the pictorials is of Female s disk jockey? <|assistant|> SELECT COUNT("date") FROM "table1_1566848_7" WHERE "pictorials"='Female s disk jockey';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566852_3" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: WHO WAS THE COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS? <|assistant|> SELECT "cover_model" FROM "table1_1566852_3" WHERE "centerfold_model"='Shallan Meiers';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566852_3" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: WHO WAS THE CENTERFOLD MODEL IN THE ISSUE WHERE OSCAR DE LA HOYA ANSWERED THE 20 QUESTIONS? <|assistant|> SELECT "centerfold_model" FROM "table1_1566852_3" WHERE "20_questions"='Oscar de la Hoya';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566852_3" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT? <|assistant|> SELECT "interview_subject" FROM "table1_1566852_3" WHERE "centerfold_model"='Nicole Narain';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566852_3" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: IN THE ISSUE WHERE LENNY KRAVITZ ANSWERED THE 20 QUESTIONS, HOW MANY PICTORIALS WERE IN THE MAGAZINE? <|assistant|> SELECT COUNT("pictorials") FROM "table1_1566852_3" WHERE "20_questions"='Lenny Kravitz';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1566852_3" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? <|assistant|> SELECT COUNT("date") FROM "table1_1566852_3" WHERE "interview_subject"='Harrison Ford';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2003" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who was featured in 20 questions when the subject of the interview was Mike Piazza? <|assistant|> SELECT "20_questions" FROM "2003" WHERE "interview_subject"='Mike Piazza';<|endoftext|>
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2003" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text, "pictorials" text ); Question: Who was featured in 20 questions on 4-03? <|assistant|> SELECT "20_questions" FROM "2003" WHERE "date"='4-03';<|endoftext|>