text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "currency" ( "country" text, "currency" text, "1_euro" text, "1_usd" text, "central_bank" text ); Question: What's the value of 1 USD in Paraguay? <|assistant|> SELECT "1_usd" FROM "currency" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "currency" ( "country" text, "currency" text, "1_euro" text, "1_usd" text, "central_bank" text ); Question: What's the value of 1 Euro in the country where the value of 1 USD is 483.050 of the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "currency" ( "country" text, "currency" text, "1_euro" text, "1_usd" text, "central_bank" text ); Question: What's the name of the central bank in the country where Colombian Peso (cop) is the l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "currency" ( "country" text, "currency" text, "1_euro" text, "1_usd" text, "central_bank" text ); Question: What's the name of the country where 1 USD equals 1.71577 of the local currency. <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: what's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: what's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote the episode 14 in series...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who directed the episode with prod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the original air date for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: How many episodes were titled "a p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: Who wrote the episode titled "the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_6" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12226390_4" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real ); Question: What episod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century" ( "season" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: How many women doubles teams competed ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12232526_2" ( "class" text, "ship_name" text, "origin" text, "hull_numbers" real, "service_years" text, "previously" text, "note" text ); Question: what is the maximum number of hull...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12232526_2" ( "class" text, "ship_name" text, "origin" text, "hull_numbers" real, "service_years" text, "previously" text, "note" text ); Question: who is the class where note is rep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12232526_2" ( "class" text, "ship_name" text, "origin" text, "hull_numbers" real, "service_years" text, "previously" text, "note" text ); Question: what is the maximum number of hull...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_boxing_quintuple_or_five_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text, "defenses" real ); Question: What titles were fought for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_boxing_quintuple_or_five_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text, "defenses" real ); Question: What is the date of the matc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_boxing_quintuple_or_five_divisio" ( "number" real, "name" text, "titles" text, "date" text, "opponent" text, "result" text, "defenses" real ); Question: What is the date of the matc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|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 kind of ...
<|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 in prothr...
<|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 long does...
<|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: Is uremia aff...
<|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: Is prothrombi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" text, "tfr_2006" text, "whites_as_pct_of_pop" text ); Question: How many live births were there in 2006 in South Yorkshire (met ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" text, "tfr_2006" text, "whites_as_pct_of_pop" text ); Question: How many TFR were there in 2006 when the GFR was 53.8? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "county" text, "live_births_2006" real, "gfr_2006" text, "tfr_2006" text, "whites_as_pct_of_pop" text ); Question: How many times was the GFR 2006 equal to 53.2? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: How many mens doubles took place ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Where were the Womens Doubles in ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who was the womens singles winner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who were the winners of mens doub...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who won the Mens Singles when the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12266757_1" ( "season" text, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who won the womens singles in the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" real, "peak" text, "elevation_m" real, "prominence_m" real, "isolation_km" real, "municipality" text, "county" text ); Question: What county is in isolation of 29? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" real, "peak" text, "elevation_m" real, "prominence_m" real, "isolation_km" real, "municipality" text, "county" text ); Question: What is the county with an elevation of 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" real, "peak" text, "elevation_m" real, "prominence_m" real, "isolation_km" real, "municipality" text, "county" text ); Question: Name the rank where the municipality is s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" real, "peak" text, "elevation_m" real, "prominence_m" real, "isolation_km" real, "municipality" text, "county" text ); Question: Name the county with the peak being indre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" real, "peak" text, "elevation_m" real, "prominence_m" real, "isolation_km" real, "municipality" text, "county" text ); Question: What is the number of rank of peak fresvi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who won the mens singles when sayaka...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: When did Chetan Anand win his first ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: How many times did Niels Christian K...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_winners" ( "year" real, "mens_singles" text, "womens_singles" text, "mens_doubles" text, "womens_doubles" text, "mixed_doubles" text ); Question: Who won the men's double when Chou T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12283621_6" ( "season" text, "serbian_league_belgrade" text, "serbian_league_east" text, "serbian_league_vojvodina" text, "serbian_league_west" text ); Question: What team was promoted i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_yuan" ( "year" real, "denomination" text, "alloy" text, "reverse" text, "diameter" text, "weight" text, "obverse" text, "mintage" real, "series" text ); Question: what's the series wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_yuan" ( "year" real, "denomination" text, "alloy" text, "reverse" text, "diameter" text, "weight" text, "obverse" text, "mintage" real, "series" text ); Question: what's the alloy wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_yuan" ( "year" real, "denomination" text, "alloy" text, "reverse" text, "diameter" text, "weight" text, "obverse" text, "mintage" real, "series" text ); Question: what's the denominat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1_yuan" ( "year" real, "denomination" text, "alloy" text, "reverse" text, "diameter" text, "weight" text, "obverse" text, "mintage" real, "series" text ); Question: how many reverse wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_clubs" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: How many times did kingfisher east bengal fc win? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_clubs" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: How many times did bec tero sasana win? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_under_20_women" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: Nigeria competed on July2, 1999. <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "junior_under_20_women" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: Nigeria had the fastest time once. <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nations" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: how many runners-up with nation being india <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nations" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: what's the runners-up with nation being malaysia <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nations" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: how many winners with # being 4 <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nations" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: how many maximum winners <|assistant|> SELECT MAX("win...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performances_by_nations" ( "num" real, "nation" text, "winners" real, "runners_up" real, "3rd_place" real, "4th_place" real ); Question: how many winners from vietnam <|assistant|> SELECT "wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dance_offs" ( "week" real, "craigs_vote" text, "arlenes_vote" text, "brunos_vote" text, "lens_vote" text, "safe" text, "eliminated" text ); Question: What was the total of arlenes vote when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dance_offs" ( "week" real, "craigs_vote" text, "arlenes_vote" text, "brunos_vote" text, "lens_vote" text, "safe" text, "eliminated" text ); Question: What is the max week where kate and ant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dance_offs" ( "week" real, "craigs_vote" text, "arlenes_vote" text, "brunos_vote" text, "lens_vote" text, "safe" text, "eliminated" text ); Question: What is the number eliminated when kell...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dance_offs" ( "week" real, "craigs_vote" text, "arlenes_vote" text, "brunos_vote" text, "lens_vote" text, "safe" text, "eliminated" text ); Question: Who is safe if John and Nicole are elim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dance_offs" ( "week" real, "craigs_vote" text, "arlenes_vote" text, "brunos_vote" text, "lens_vote" text, "safe" text, "eliminated" text ); Question: What is the total number of brunos vote...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text ); Question: How many goals were scored by the player who played 17 matches...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text ); Question: What is the name of the player who played in 2009 only? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text ); Question: How many goals have been scored by Tiago Gomes? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "youth_under_18_girls" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: Which athlete is from Mexico City? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "youth_under_18_girls" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: What is the athlete from Edwardsville? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "youth_under_18_girls" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: What was the wind on 21 june 1976? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "youth_under_18_girls" ( "rank" real, "fastest_time_s" text, "wind_m_s" text, "athlete" text, "nation" text, "date" text, "location" text ); Question: What is the number of locations with th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: What's the title of the episode w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: What's the number of episodes wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: what's the total number of episod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: What's the series number of the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: What's the original air date of t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1231892_4" ( "number_in_series" real, "broadcast_order" text, "title" text, "villain_s" text, "u_s_air_date" text, "production_code" text ); Question: What's the series number of the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "municipal_detachments" ( "municipality" text, "population" real, "police_officers" real, "residents_per_officer" real, "total_costs_2005" text, "cost_per_capita" text, "case_burden" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: What is the interview score for the state o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: How much is the average score for New York ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: Which interview score corresponds with the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: What is the preliminary score associated wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: What swimsuit score did the state of Virgin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_competition_scores" ( "state" text, "preliminaries" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text ); Question: Which interview score belongs to the state ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scores" ( "record" text, "date_and_time" text, "competition" text, "home_or_away" text, "opponent" text, "score" text ); Question: For the competition Mithras Cup 2nd Rd (2nd Leg), what is th...