text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_one_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "division_one_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What was the fini...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What team started...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What was the time...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "fin_pos" text, "car_no" text, "driver" text, "team" text, "laps" text, "time_retired" text, "grid" text, "laps_led" text, "points" text ); Question: What was the grid...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Who did Thomaz Bellucci play against when he became runner-up on a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What tournament did Thomaz Bellucci become runner-up on a clay surf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_5_3_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What type of surface did Thomaz Bellucci play against tommy robredo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: What is the result of the match against Ryan Schultz? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: What round was the game against Cedric Marks? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: What was the record of the match against Chris Mounce? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: What is the method in the round 2 win over Nick Gilardi? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "female_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Player, when To Par is "+1", and when Score is "75-68=143"? <|assistant|> SELECT "p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Player is "Andy North"? <|assistant|> SELECT "score" FROM "second_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is To Par, when Score is "69-72=141" <|assistant|> SELECT "to_par" FROM "second_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Place, when Score is "73-71=144", and when Player is "Scott Simpson"? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is Score, when Country is "United States", and when Player is "John Mahaffey"? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is To Par, when Place is "T1", and when Player is "Joey Rassett"? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the score when the away team was brighton & hove albion? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: When was the away team burnley? <|assistant|> SELECT "date" FROM "fourth_round_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which home team had an away team of Reading? <|assistant|> SELECT "home_team" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "nominated_work" text, "accolade" text, "year" real, "rank" real ); Question: What year was the accolade for Scottish albums of the decade? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "nominated_work" text, "accolade" text, "year" real, "rank" real ); Question: What country had the publication, Drowned in Sound? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What is the name of the home stadium of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: How much is the crowd attending at colon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: How many people attended as the score en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_16" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text, "3rd_leg" text ); Question: what is the 2nd leg when team #2 is žalgiris kaunas? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_16" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text, "3rd_leg" text ); Question: what is the 2nd leg when team #2 is žalgiris kaunas? <|assistant|> SELECT...
<|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, "tv_time" text, "attendance" text ); Question: Who was the opponent in week 6? <|assistant|> SELECT "opponent" FROM "sche...
<|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, "tv_time" text, "attendance" text ); Question: Which week had an attendance of 55,158? <|assistant|> SELECT SUM("week") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text ); Question: What is the lowest game o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: Which Player has a Round larger than 5, and a Position of (g)? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: Which Round has a Nationality of united states, and a Player of jim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: Which Pick has a Nationality of canada, and a Round of 5? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "club_team" text ); Question: Which Club Team has a Position of (d), a Nationality of canada, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: How much money did jodie mudd get? <|assistant|> SELECT "money" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What score did Australia get? <|assistant|> SELECT "score" FROM "final...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "puerperal_fever_mortality_rates_for_birt" ( "month" text, "births" text, "deaths" text, "rate_pct" text, "sort_restore" real ); Question: What is the sort value that had deaths of 71? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "puerperal_fever_mortality_rates_for_birt" ( "month" text, "births" text, "deaths" text, "rate_pct" text, "sort_restore" real ); Question: Which month had a sort value under 39 and 2 deaths? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "puerperal_fever_mortality_rates_for_birt" ( "month" text, "births" text, "deaths" text, "rate_pct" text, "sort_restore" real ); Question: What is the number of sort values associated with 389 b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Who was the Manufacturer for the Rider Colin Edwards? <|assistant|> SELECT "manuf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: With a Grid less than 15, and a Time of +52.833, what is the highest number of La...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: What is the average Grid for the Rider Toni Elias with Laps more than 30? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: With a Time of +1:37.055, which has the lowest Grid? <|assistant|> SELECT MIN("gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invitational_sports" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Silver is the highest one that has a Rank of 19, and a Gold large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invitational_sports" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Bronze is the highest one that has a Rank of 26, and a Total larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invitational_sports" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Gold has a Nation of india, and a Bronze smaller than 0? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "invitational_sports" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the round number when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What is the method when the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text, "points" real ); Question: What is the home team of the game with a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "nets_points" real, "opponent_score" real, "record" text, "streak" text ); Question: What was the record on November ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "nets_points" real, "opponent_score" real, "record" text, "streak" text ); Question: When the opponent scored 96 poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text ); Question: What transfer fee did Birmingham City get on 30 Jun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text ); Question: What type of move was Elding from ENG? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" text, "transfer_fee" text ); Question: When does Donaldson's move end? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Silver has a Total of 7, and a Gold larger than 1? <|assistant|> SELECT A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Which Gold has a Nation of malaysia, and a Silver smaller than 0? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "states_of_brazil" ( "state" text, "abbreviation" text, "capital" text, "area_km" real, "population_2005" real, "density_2005" real, "gdp_pct_total_2004" text, "gdp_per_capita_us_2004" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "states_of_brazil" ( "state" text, "abbreviation" text, "capital" text, "area_km" real, "population_2005" real, "density_2005" real, "gdp_pct_total_2004" text, "gdp_per_capita_us_2004" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "states_of_brazil" ( "state" text, "abbreviation" text, "capital" text, "area_km" real, "population_2005" real, "density_2005" real, "gdp_pct_total_2004" text, "gdp_per_capita_us_2004" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "states_of_brazil" ( "state" text, "abbreviation" text, "capital" text, "area_km" real, "population_2005" real, "density_2005" real, "gdp_pct_total_2004" text, "gdp_per_capita_us_2004" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "states_of_brazil" ( "state" text, "abbreviation" text, "capital" text, "area_km" real, "population_2005" real, "density_2005" real, "gdp_pct_total_2004" text, "gdp_per_capita_us_2004" real...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_points_leaders" ( "total_points" real, "name" text, "career_games" text, "position" text, "years_played" text, "scored_1_500_points" text, "date_and_opponent" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_points_leaders" ( "total_points" real, "name" text, "career_games" text, "position" text, "years_played" text, "scored_1_500_points" text, "date_and_opponent" text ); Question: Which...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_points_leaders" ( "total_points" real, "name" text, "career_games" text, "position" text, "years_played" text, "scored_1_500_points" text, "date_and_opponent" text ); Question: Which...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_points_leaders" ( "total_points" real, "name" text, "career_games" text, "position" text, "years_played" text, "scored_1_500_points" text, "date_and_opponent" text ); Question: Which...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_points_leaders" ( "total_points" real, "name" text, "career_games" text, "position" text, "years_played" text, "scored_1_500_points" text, "date_and_opponent" text ); Question: WHich...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Time has a Round smalle...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Round has a Record of 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Opponent has a Round sm...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Time has an Opponent of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Time has a Round larger...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: Which Round has an Event of nle - capital city carnage? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: Which Round has an Opponent of ryan bixler? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text ); Question: Which Event has a Record of 19-9? <|assistant|> SELECT "event" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Method has a Round of 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Opponent has a Time of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Round has an Opponent o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Round has a Location of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Which Opponent has an Event o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Tiger Woods with a total less than 293 had what To par? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: Bernhard Langer maximum total was what? <|assistant|> SELECT MAX("tot...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What is the average of the total when t11 is the finish? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: What were grid 7's laps? <|assistant|> SELECT MIN("laps") FROM "125cc_class...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: Which Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: How many Laps have a Time/Retired of +1:42.517, and a Grid larger than 33? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_results" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: Which chassis-engine had 77 laps? <|assistant|> SELECT "chassis_engine" FROM "offic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_results" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: What is the class of team liqui moly equipe, which has less than 71 laps? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_results" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_results" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: Who is the driver of the chassis-engine porsche 956 gti? <|assistant|> SELECT "driv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "official_results" ( "class" text, "team" text, "driver" text, "chassis_engine" text, "laps" real ); Question: What team has a porsche 956 b chassis-engine with less than 79 laps? <|assistant|> ...