text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_fina_diving_world_series" ( "year" real, "1st_venue" text, "2nd_venue" text, "3rd_venue" text, "4th_venue" text, "5th_venue" text ); Question: In 2010, how many 1st venue cities were ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_fina_diving_world_series" ( "year" real, "1st_venue" text, "2nd_venue" text, "3rd_venue" text, "4th_venue" text, "5th_venue" text ); Question: When Qingdao was the 1st venue city, who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_fina_diving_world_series" ( "year" real, "1st_venue" text, "2nd_venue" text, "3rd_venue" text, "4th_venue" text, "5th_venue" text ); Question: What city was in the 3rd venue when Mexi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_224840_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: How many seats became avaliable in Massachusetts 3rd di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_224840_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Who left office on November 26, 1800? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_224840_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Who was the latest to take office in Massachusetts 3rd ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "collection" ( "date" text, "builder" text, "type" text, "operator" text, "number" text, "withdrawn" text, "status" text ); Question: List the builder from 1930. <|assistant|> SELECT "builde...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "collection" ( "date" text, "builder" text, "type" text, "operator" text, "number" text, "withdrawn" text, "status" text ); Question: List the number of builders where the withdrawn is 1951 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "collection" ( "date" text, "builder" text, "type" text, "operator" text, "number" text, "withdrawn" text, "status" text ); Question: List the date for number 1. <|assistant|> SELECT "date" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "collection" ( "date" text, "builder" text, "type" text, "operator" text, "number" text, "withdrawn" text, "status" text ); Question: List the number for the operator melbourne and metropoli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "collection" ( "date" text, "builder" text, "type" text, "operator" text, "number" text, "withdrawn" text, "status" text ); Question: List the status for the operator Toronto transit commiss...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_television" ( "year" text, "network" text, "play_by_play" text, "color_commentator_s" text, "ice_level_reporters" text, "studio_host" text, "studio_analysts" text ); Question: Whic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_television" ( "year" text, "network" text, "play_by_play" text, "color_commentator_s" text, "ice_level_reporters" text, "studio_host" text, "studio_analysts" text ); Question: Whic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_television" ( "year" text, "network" text, "play_by_play" text, "color_commentator_s" text, "ice_level_reporters" text, "studio_host" text, "studio_analysts" text ); Question: Who ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_television" ( "year" text, "network" text, "play_by_play" text, "color_commentator_s" text, "ice_level_reporters" text, "studio_host" text, "studio_analysts" text ); Question: Who ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_television" ( "year" text, "network" text, "play_by_play" text, "color_commentator_s" text, "ice_level_reporters" text, "studio_host" text, "studio_analysts" text ); Question: Who ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_224844_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Who left a seat open for the district of connecticut at...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_224844_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Why was a seat left open fo Connecticut at-large? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_4" ( "rank_mid_east" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: What is the smallest Asian rank? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_4" ( "rank_mid_east" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: What 2011 GDP (PPP) billions of USD does Iraq hav...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_4" ( "rank_mid_east" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: What 2011 GDP (PPP) billions of USD does Israel h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_4" ( "rank_mid_east" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: How many asian rank have 1 as a mideast rank? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_african_countries_by_gdp_per_cap" ( "gdp_ppp_per_capita_2010_african_world_rank_2010" text, "nation" text, "gdp_by_agriculture_2010" text, "gdp_by_industry_2010" text, "gdp_by_services_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" ( "asian_rank" real, "world_rank" real, "country" text, "gdp_per_capita" text, "gdp_world_rank" text ); Question: Name the gdp world rank for asian ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" ( "asian_rank" real, "world_rank" real, "country" text, "gdp_per_capita" text, "gdp_world_rank" text ); Question: Name the gdp per capita for world ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" ( "asian_rank" real, "world_rank" real, "country" text, "gdp_per_capita" text, "gdp_world_rank" text ); Question: Name the gdp world rank for asian ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_asian_countries_by_gdp_per_capit" ( "asian_rank" real, "world_rank" real, "country" text, "gdp_per_capita" text, "gdp_world_rank" text ); Question: Name the most world rank for asian ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_3" ( "rank_subcontinent" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: Name the least rank subcontinent for banglade...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_3" ( "rank_subcontinent" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: Name the rank world for 7 rank subcontinent <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_3" ( "rank_subcontinent" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: Name the 2011 gdp for pakistan <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_3" ( "rank_subcontinent" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: Name the 2011 gdp for 65 rank world <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_2248784_3" ( "rank_subcontinent" real, "rank_asia" real, "rank_world" real, "country" text, "2011_gdp_ppp_billions_of_usd" text ); Question: Name the number of rank world for bhutan <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_african_countries_by_gdp_per_cap" ( "african_rank" real, "world_rank" real, "nation" text, "gdp_per_capita" text, "total_gdp_world_rank" real ); Question: How many items were listed und...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_african_countries_by_gdp_per_cap" ( "african_rank" real, "world_rank" real, "nation" text, "gdp_per_capita" text, "total_gdp_world_rank" real ); Question: How many items are listed unde...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_african_countries_by_gdp_per_cap" ( "african_rank" real, "world_rank" real, "nation" text, "gdp_per_capita" text, "total_gdp_world_rank" real ); Question: What is the total gdp world ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_country_by_historical_gdp_ppp_pe" ( "south_american_rank" real, "world_rank" real, "nation" text, "2011_imf" text, "2008_cia_factbook" text ); Question: Name the least world rank for so...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_country_by_historical_gdp_ppp_pe" ( "south_american_rank" real, "world_rank" real, "nation" text, "2011_imf" text, "2008_cia_factbook" text ); Question: Name the south american rank for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text ); Question: How many weight stats are there for player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text ); Question: What was rickie winslow's number? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text ); Question: How many height entries are there for play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text ); Question: What is the hometown of the players from a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "name" text, "num" real, "position" text, "height" text, "weight" real, "year" text, "home_town" text, "high_school" text ); Question: How many height entries are there for play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225095_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: How many reasons for change were listed when Edward Hem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225095_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: How many Vacators were listed when the district was Nor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225095_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Who was the vacator when Shadrach Bond was the successo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225096_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: When was the successor who got his seat because of "unt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225098_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: The successor for the Massachusetts 20th district was s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225098_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Who vacated the Pennsylvania 6th district? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225099_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: Who was the successor for the state...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225099_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: What is the date of successors form...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225099_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: How many entries are shown for date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225099_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: Who was the successor for the state...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225099_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: what is the state for reason for ch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who is the trophy presentation in the ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Which network has s analyst of eddie arc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who are the reporters for the year of 19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: How many trophy presentations where in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: In which year were howard cosell and jac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who is the race caller when jim mckay an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the host for john rotz and howard ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the race caller for jim mckay and h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the race caller for jim mckay and h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the reporters for dave johnson for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the reporters for howard cosell <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1970s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the number of reporters for heywoo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_elevation" ( "num" real, "district" text, "province" text, "region" text, "ubigeo" real, "elevation_m" real ); Question: Which province has an elevation of 4550? <|assistant|> SELECT "pro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_elevation" ( "num" real, "district" text, "province" text, "region" text, "ubigeo" real, "elevation_m" real ); Question: Which province is in the district of San Antonio de Chuca? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_elevation" ( "num" real, "district" text, "province" text, "region" text, "ubigeo" real, "elevation_m" real ); Question: How many elevations are listed for Paratia? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_elevation" ( "num" real, "district" text, "province" text, "region" text, "ubigeo" real, "elevation_m" real ); Question: What province is in the district of Condoroma? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the reporters for 2003 <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Name the total number for race caller fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: Who is the race caller for the year 1994...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1990s" ( "year" real, "network" text, "race_caller" text, "s_host" text, "s_analyst" text, "reporters" text, "trophy_presentation" text ); Question: How many reporters for the year 1993? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_field" ( "post" real, "horse_name" text, "trainer" text, "jockey" text, "opening_odds" text, "starting_odds" text, "finishing_pos" real ); Question: What were the starting odds for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_field" ( "post" real, "horse_name" text, "trainer" text, "jockey" text, "opening_odds" text, "starting_odds" text, "finishing_pos" real ); Question: Who was the jockey with opening odds...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_field" ( "post" real, "horse_name" text, "trainer" text, "jockey" text, "opening_odds" text, "starting_odds" text, "finishing_pos" real ); Question: HOw many jockeys had eoin harty as a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_field" ( "post" real, "horse_name" text, "trainer" text, "jockey" text, "opening_odds" text, "starting_odds" text, "finishing_pos" real ); Question: Which post had the horse named choco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225199_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: What is every date successor seated for the Virginia 11...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225200_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the successor for not filled this congress <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225200_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the district for rep. warren r. davis died during...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225200_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the total number of reason for change for not fill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225200_4" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text ); Question: Name the vacator for resigned february 26, 1836 because...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225205_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: Name the vacator for failure to ele...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225205_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: Name the state class for iowa admi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_225206_3" ( "state_class" text, "vacator" text, "reason_for_change" text, "successor" text, "date_of_successors_formal_installation" text ); Question: Who was the vacator when the reason...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the number of nat for tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the l g for rubio <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the least total apaps for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview_of_the_regions" ( "num" real, "name" text, "name_english" text, "population_2008_07_01" real, "area_km" real, "pop_km" text, "iso_3166_2" text, "administrative_centre" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview_of_the_regions" ( "num" real, "name" text, "name_english" text, "population_2008_07_01" real, "area_km" real, "pop_km" text, "iso_3166_2" text, "administrative_centre" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview_of_the_regions" ( "num" real, "name" text, "name_english" text, "population_2008_07_01" real, "area_km" real, "pop_km" text, "iso_3166_2" text, "administrative_centre" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview_of_the_regions" ( "num" real, "name" text, "name_english" text, "population_2008_07_01" real, "area_km" real, "pop_km" text, "iso_3166_2" text, "administrative_centre" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview_of_the_regions" ( "num" real, "name" text, "name_english" text, "population_2008_07_01" real, "area_km" real, "pop_km" text, "iso_3166_2" text, "administrative_centre" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the player for l apps for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the least total apps for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_stats" ( "player" text, "nat" text, "pos" text, "l_apps" real, "l_g" real, "c_apps" real, "c_g" real, "total_apps" real, "total_g" real ); Question: Name the total number of lg fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22577693_1" ( "details" text, "host_nation_s" text, "final_venue" text, "winner" text, "result" text, "runner_up" text ); Question: If the runner-up is [[|]] 151/8 (50.0 overs), what w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22577693_1" ( "details" text, "host_nation_s" text, "final_venue" text, "winner" text, "result" text, "runner_up" text ); Question: What is the name of the host nations if the winner w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22577693_1" ( "details" text, "host_nation_s" text, "final_venue" text, "winner" text, "result" text, "runner_up" text ); Question: If the winner is Hong Kong 207/6 (47.1 overs), what ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_22577693_1" ( "details" text, "host_nation_s" text, "final_venue" text, "winner" text, "result" text, "runner_up" text ); Question: If the results are Kuwait won by 72 runs scorecard, ...