text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "nation" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text ); Question: What is the Blank Ends when there are less th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the 20 Questions section aimed at when the Interview Subject...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the Centerfold Model on 5-95? <|assistant|> SELECT "centerfo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the 20 Questions section aimed at when Cover Model was Kimbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the Centerfold Model when the Cover Model was Julie Lynn Cia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the Interview Subject when the Centerfold Model was Melissa ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995" ( "date" text, "cover_model" text, "centerfold_model" text, "interview_subject" text, "20_questions" text ); Question: Who was the 20 Questions section aimed at when Centerfold Model was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "previous_club_team" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode" real, "title" text, "story" text, "adapted_by" text, "director" text, "airdate" text, "exists" text ); Question: What was the title of the episode that martin worth wr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_9_titles_4_runners_up" ( "outcome" text, "year" text, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: In what year was Xavier Mal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_13_9_titles_4_runners_up" ( "outcome" text, "year" text, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: On what surface was the gam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Caps, when Province / Club is Example, when Position is Prop, and whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Postition, when Date of Birth (Age) is Example, and when Player is Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Player, when Caps is Example, and when Position is Center? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Caps, when Province / Club is DRFC, and when Position is Center? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Position, when Caps is Example, and When Player is Shane Kelly? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players" ( "player" text, "position" text, "date_of_birth_age" text, "caps" text, "province_club" text ); Question: What is Position, when Province / Club is Example, when Date of Birth (Age) i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the average number pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the highest lost numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which team had 1 position? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the lowest number of p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the total number of po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the average number of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What is the team that has forward-center as a position? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What team does Kenny Smith play for? <|assistant|> SELECT "school_club_tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text ); Question: What years was Lebanon the nationality? <|assistant|> SELECT "years_in_orl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Which margin of victory has cyber agent ladies as the tou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What date has yani tseng as the runner (s)-up? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the margin of victory that has masters gc ladies ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the date that has yani tseng as the runner (s)-up...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_of_japan_tour_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the winning score that has victory of 2 strokes f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "pos" text ); Question: What is the highest Poles ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "terminati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "terminati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "terminati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_production" ( "headphone_model" text, "headphone_class" text, "sensitivity_d_b" text, "impedance_ohms" real, "driver_matched_d_b" text, "construction" text, "earpads" text, "terminati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text ); Question: What regulations have hudson as the winning construc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text ); Question: What regulations have carlos arzani as the winning d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "circuit" text, "winning_drivers" text, "winning_constructor" text, "regulations" text, "report" text ); Question: What is the latest year that has ferrari 166 fl as t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What is the city of license that has lp as t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What is the identifier that has 50,000 watts...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What RECNet has 40 watts of power and temaga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What city of license has A as a class, and c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What RECNet has elk lake as the city of lice...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s_rebroadcaster_of_cbcs_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text ); Question: What frequency has temagami as the city of l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real ); Question: What is the highest Current Branch Opened, when Nei...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real ); Question: What is the First Branch Opened, when Branch is Bel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real ); Question: What is Neighborhood, when Branch is Hollywood Libr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "smaller_branches" ( "branch" text, "address" text, "neighborhood" text, "first_branch_opened" real, "current_branch_opened" real ); Question: What is Current Branch Opened, when Branch is Midla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real ); Question: Which player has the fewest assists and played 2 games or fewer? <|assistant|> SELECT MIN("assists") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_mobile_subscriber_additions" ( "year" real, "january" real, "february" real, "march" real, "april" real, "june" real, "july" real, "august" real, "september" real, "october" re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the Catalog with a Region that is europe? <|assistant|> SELECT "catalog" FROM "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" real, "sfc_in_g_k_n_s" real, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "may" ( "week_of" text, "tier" text, "winner" text, "runner_up" text, "semi_finalists" text ); Question: What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "may" ( "week_of" text, "tier" text, "winner" text, "runner_up" text, "semi_finalists" text ); Question: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? <|assistant|> SELECT "we...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets_in_a_season" ( "rank" text, "s_wicket" text, "player" text, "matches" text, "season" text ); Question: In what Season was Colin Miller (TAS) the Player? <|assistant|> SELECT "seaso...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_wickets_in_a_season" ( "rank" text, "s_wicket" text, "player" text, "matches" text, "season" text ); Question: What Rank has a 65 s Wicket? <|assistant|> SELECT "rank" FROM "most_wickets_i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "tv_time" text, "attendance" text ); Question: Which result featured the Indianapoli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text ); Question: Whose Name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text ); Question: WHich Japa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text ); Question: Which Date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text ); Question: What kind ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_special_cities_now_core_or_design" ( "name" text, "japanese" text, "date_of_designation" text, "date_of_reclassification" text, "region" text, "prefecture" text ); Question: WHose Name...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "1998_1999_team" text ); Question: What is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "residence_hall" text, "established" real, "rector" text, "campus" text, "capacity" real, "colors" text, "mascot" text ); Question: Which capacity has a purple and white color...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "virginia_counties_and_cities_ranked_by_p" ( "county_or_city" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_househol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "virginia_counties_and_cities_ranked_by_p" ( "county_or_city" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_househol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_right...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_right...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_number" real, "name_v_t_e" text, "height_cm" real, "weight_kg" real, "birthplace" text, "2008_09_team" text, "nhl_right...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_action_potentials_a_ps_fro" ( "animal" text, "cell_type" text, "resting_potential_m_v" text, "ap_increase_m_v" text, "ap_duration_ms" text, "conduction_speed_m_s" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What was the total matches that ranked above 10? <|assistant|> SELECT SUM("matches") FROM "england" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What was the total amount of matches for Alan Shearer? <|assistant|> SELECT COUNT("matches") FROM "e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What is the average goals for Jimmy Greaves, and matches more than 516? <|assistant|> SELECT AVG("go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What was the total number of matches for Nat Lofthouse, ranking higher than 7? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real ); Question: What is the highest rank for Nat Lofthouse, and goals more than 255? <|assistant|> SELECT MAX("rank"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "round" text, "circuit" text, "location_state" text, "date" text, "winner" text ); Question: What is the location/state that has adelaide international raceway as the circuit? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the name of the director for the episode titled "homewreck...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the Original air date for the episode with a Production co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the name of the director of the episode written by robin s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the Original air date for the episode directed by lev l. s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the name of the writer for the episode with an Original ai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "episodes" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the Title written by Terri Hughes & Ron Milbauer, and an O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: What time or retired does Scott Dixon have? <|assistant|> SELECT "time_retired" FROM "race" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: Which driver has a grid bigger than 3 and a time of +62.6 secs? <|assistant|> SELECT "driver" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: Who drives for Newman-Haas Racing with a time of 1:51:47.260? <|assistant|> SELECT "driver" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real ); Question: Which driver had less than 65 laps for Sigma Autosport? <|assistant|> SELECT "driver" FROM "race" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "i_que_game_boy_advance" ( "chinese_title" text, "pinyin" text, "released_date" real, "genre" text, "game_modes" text ); Question: Which game modes have Pinyin of chāojí mǎlìōu shìjiè? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sovereign_states" ( "name" text, "subdivisions" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" real, "capital" text ); Question: What is the sum of Popul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sovereign_states" ( "name" text, "subdivisions" text, "area_km" real, "population_1_july_2005_est" real, "population_density_per_km" real, "capital" text ); Question: What is the lowest Popul...