text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" real, "division" real, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: Which Year has Playoffs which did not qualify? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team" ( "year" real, "location" text, "gold" text, "silver" text, "bronze" text ); Question: Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: When was Lee Phillips the director? <|assistant|> SELECT "year" FROM "filmography...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: What is the movie that Paul Schneider directed? <|assistant|> SELECT "title" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: The box office was $961,147 in what year? <|assistant|> SELECT "year" FROM "filmo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: Three Men and a Little Lady from Touchstone Pictures was from what year? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: What is the name of the movie from 1997 distributed from HBO Pictures? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filmography" ( "year" text, "title" text, "director" text, "distributor_s" text, "box_office" text ); Question: What movie earned $1,659,542 at the box office? <|assistant|> SELECT "title" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "protein_name" text, "divergence_from_human_lineage_mya" real, "accession_number" text, "sequence_length_aa" real, "sequence_identity_to_human_protein" text );...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "orthologs" ( "common_name" text, "protein_name" text, "divergence_from_human_lineage_mya" real, "accession_number" text, "sequence_length_aa" real, "sequence_identity_to_human_protein" text );...
<|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, "record" text, "game_site" text, "attendance" real ); Question: What's the record of the team who played the Cleveland ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "special_teams" ( "position" text, "number" real, "name" text, "height" text, "weight" text, "class" text, "hometown" text, "games" real ); Question: What is the hometown of the player who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which college's overall number is more than 158 when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which round's name is Jonathan Massaquoi? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the mean round number for center position whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "common_of" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real ); Question: Which Altitude (mslm) has a Density (inhabit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "common_of" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real ); Question: Which Altitude (mslm) has a Density (inhabit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "common_of" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real ); Question: How much Area (km 2) has a Common of collegn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "common_of" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real ); Question: How many people have an Altitude (mslm) larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "rank" text, "common_of" text, "population" real, "area_km_2" real, "density_inhabitants_km_2" real, "altitude_mslm" real ); Question: Which Population is the highest one that has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "original_pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: what builder launched 20 jun 1953? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships" ( "ship" text, "original_pennant_number" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: what is the commissioned date with laid down of 17 de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What round was matt brait? <|assistant|> SELECT "round" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which player is in position center for round 2? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" text, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What position is Sweden in round 2? <|assistant|> SELECT "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_tennessee" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real ); Question: What is the height of number 52? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "middle_tennessee" ( "position" text, "number" real, "name" text, "height" text, "weight" real, "class" text, "hometown" text, "games" real ); Question: What number is Tony Dixon? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real ); Question: What is the average Draw for the artist(s), whose l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "barangays" ( "barangay" text, "population_2010" real, "economic_class" text, "land_area_in_sqm" real, "punong_barangay_term_2010_2013" text ); Question: Which Economic Class has a Barangay of i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "barangays" ( "barangay" text, "population_2010" real, "economic_class" text, "land_area_in_sqm" real, "punong_barangay_term_2010_2013" text ); Question: Which Economic Class has a Population (2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_and_driver_lineup_prior_to_unificat" ( "team" text, "no_num" real, "driver_s" text, "sponsor_s" text, "test_drivers" text ); Question: Which Driver has a Sponsor of pdvsa? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What are the colours of the team with benedikt guðmundsson as head coach? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What is the city and region of the team in the dalhús arena? <|assistant|> SELECT "city_re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What is the arena in Borgarnes? <|assistant|> SELECT "arena" FROM "teams" WHERE "city_regi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What team is in the toyota höllin arena? <|assistant|> SELECT "team" FROM "teams" WHERE "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What team is in the dhl-höllin arena? <|assistant|> SELECT "team" FROM "teams" WHERE "aren...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams" ( "team" text, "city_region" text, "arena" text, "colours" text, "head_coach" text ); Question: What are the colors of the team in Borgarnes? <|assistant|> SELECT "colours" FROM "teams" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_10_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_10_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_10_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_10_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_10_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_overall_scorers" ( "ranking" real, "nationality" text, "name" text, "goals" real, "years" text ); Question: Name the years for spain with 215 goals <|assistant|> SELECT "years" FROM "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time_overall_scorers" ( "ranking" real, "nationality" text, "name" text, "goals" real, "years" text ); Question: Name the most goals for josep samitier <|assistant|> SELECT MAX("goals") FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Record has a December smaller than 22 and a Score of 4–3? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Score has a Record of 15–12–2? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which December has a Game of 37 and Points smaller than 47? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Points have a December smaller than 6, and a Score of 1–1 ot, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game has a Score of 4–0 and Points of 44? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "num_county" text, "year_joined" real, "previous_conference" text ); Question: Which Pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "num_county" text, "year_joined" real, "previous_conference" text ); Question: Which En...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "num_county" text, "year_joined" real, "previous_conference" text ); Question: Which Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "num_county" text, "year_joined" real, "previous_conference" text ); Question: Which IH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "num_county" text, "year_joined" real, "previous_conference" text ); Question: Which Sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "name" text, "term" text, "games" real, "record_w_l_t_otl" text, "points" real, "win_percentage" real ); Question: Which Win percentage has a Name of red kelly? <|assistant|> SELECT S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "name" text, "term" text, "games" real, "record_w_l_t_otl" text, "points" real, "win_percentage" real ); Question: Which Name has Games of 105? <|assistant|> SELECT "name" FROM "list"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "name" text, "term" text, "games" real, "record_w_l_t_otl" text, "points" real, "win_percentage" real ); Question: Which Win percentage has Points smaller than 472, and a Record (W–L–...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real ); Question: Which round has an H/A of A with Notts County as opponents? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_clubs" ( "club" text, "nickname" text, "years_in_competition" text, "no_of_premierships" real, "premiership_years" text ); Question: What was the Premiership Years that had in the Comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_clubs" ( "club" text, "nickname" text, "years_in_competition" text, "no_of_premierships" real, "premiership_years" text ); Question: What was the Years in competition that had a Premie...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_clubs" ( "club" text, "nickname" text, "years_in_competition" text, "no_of_premierships" real, "premiership_years" text ); Question: What is the Nickname in the Competition of 1982-199...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "previous_clubs" ( "club" text, "nickname" text, "years_in_competition" text, "no_of_premierships" real, "premiership_years" text ); Question: What was the Nickname that had a No. 0, and Years i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "january" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which highest Points has a Score of 1–1 ot? <|assistant|> SELECT MAX("p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college_junior_club_team" text ); Question: Which College/Junior/Club team has a Round of 6? <|assistant|> SELECT "co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the record on April 16? <|assistant|> SELECT "record" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the record on April 8? <|assistant|> SELECT "record" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What date was the visitor chicago black hawks, and a Record of 1-1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Studio host of jimmy myers had what play by play? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Play-by-play of sean grande, and a Year of 2004-05 had what studi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Year of 2006-07 had what studio host? <|assistant|> SELECT "studi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Play-by-play of sean grande, and a Flagship Station of wrko, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Studio host of john ryder, and a Year of 2007-08 had what play by...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000s" ( "year" text, "flagship_station" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text ); Question: Play-by-play of sean grande, and a Flagship Station of wrko invol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_five_natural_honey_producing_countri" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: What was the value in 2011 for United States? <|assistant|> SELECT "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_five_natural_honey_producing_countri" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: What was the value in 2011 when value in 2009 was 82,003? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_five_natural_honey_producing_countri" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: What country was rank 1? <|assistant|> SELECT "country" FROM "top_fiv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_five_natural_honey_producing_countri" ( "rank" text, "country" text, "2009" text, "2010" text, "2011" text ); Question: What country was rank 4? <|assistant|> SELECT "country" FROM "top_fiv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text ); Question: Games ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text ); Question: Weight...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text ); Question: Height...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text ); Question: Player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "varsity_letter_winners" ( "player" text, "position" text, "games_started" text, "hometown" text, "height" text, "weight" real, "class" text, "previous_experience" text ); Question: Positi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: what is the callsign whtat uses 7bu? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What is the highest rank for ben crenshaw after winning more than 14 times? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What is the lowest number of wins for ben crenshaw? <|assistant|> SELECT MIN("wins") FROM "leade...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What player has 14 wins? <|assistant|> SELECT "player" FROM "leaders" WHERE "wins"=14;<|endoftex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team" text, "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: How many games does team Czechoslovakia have that had a drawn greater...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ministers_for_employment" ( "order" text, "minister" text, "party" text, "prime_minister" text, "term_start" text, "term_end" text, "term_in_office" text ); Question: Which Prime Mi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ministers_for_employment" ( "order" text, "minister" text, "party" text, "prime_minister" text, "term_start" text, "term_end" text, "term_in_office" text ); Question: Who was the Mi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "ceremony" text, "result" text, "award" text, "work" text ); Question: what ceremony did big titty milfs work in <|assistant|> SELECT "ceremony" FROM "awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the end result for 28 February 2001? <|assistant|> SELECT "result" FROM "...