text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated" text, "result" text ); Question: Which category was Maite Perroni nominated for earlier than 2009? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated" text, "result" text ); Question: In what year was there an award for TV Adicto Golden Awards and the category F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What winn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What gene...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What gene...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What winn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text ); Question: What gene...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Name Road Team of Game of game 4? <|assistant|> SELECT "road_team" FROM "nba_finals" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Date has a Road Team of chicago, and a Result of 88-85 (ot)? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Home Team is on june 12? <|assistant|> SELECT "home_team" FROM "nba_finals" WHERE "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Result that is on june 5? <|assistant|> SELECT "result" FROM "nba_finals" WHERE "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Date has Result of 86-87? <|assistant|> SELECT "date" FROM "nba_finals" WHERE "resul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which Result has a Game of game 1? <|assistant|> SELECT "result" FROM "nba_finals" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" tex...
<|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 Player is "Jesper Parnevik"? <|assistant|> SELECT "to_par" FROM "secon...
<|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 Place is "1"? <|assistant|> SELECT "player" FROM "second_round" WHERE ...
<|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 Country is "United States", and when Player is "Mark Brooks"? <|assist...
<|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 Player is "Phil Mickelson"? <|assistant|> SELECT "place" FROM "second_r...
<|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 "Brad Faxon"? <|assistant|> SELECT "score" FROM "second_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vuko_karov_tournament" ( "edition" real, "year" real, "winner" text, "runner_up" text, "third" text ); Question: What was the edition after 2003 when the Third was Tikveš and Sileks was the run...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vuko_karov_tournament" ( "edition" real, "year" real, "winner" text, "runner_up" text, "third" text ); Question: What was the latest year with an edition of 14? <|assistant|> SELECT MAX("year")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); Question: What was the venue for the game on 18/03/2006? <|assistant|> SELECT "venue" FROM "2006" WHER...
<|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" text ); Question: What was the score when the place was t8? <|assistant|> SELECT "score"...
<|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" text ); Question: What country scored 71-66-66-71=274? <|assistant|> SELECT "country" FR...
<|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" text ); Question: What country scored 66-65-66-72=269? <|assistant|> SELECT "country" FR...
<|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" text ); Question: What was the money for place t3 and United States? <|assistant|> SELEC...
<|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" text ); Question: What country does Jeff Sluman play for? <|assistant|> SELECT "country"...
<|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" text ); Question: What was the to par for place t8 and a score of 71-66-66-71=274? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: What home team played against Fleetwood Town? <|assistant|> SELECT "home_te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "am" ( "frequency" real, "power_d_n" text, "callsign" text, "brand" text, "city_of_license" text ); Question: What callsign has 1300 as the frequency? <|assistant|> SELECT "callsign" FROM "am" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: What's the name of the stadium when the club was F.C. Igea Virtus Barcellona? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: Who was the club when during the 2007-08 season had 12th in serie c2/c? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: Who was the club when during the 2007-08 season had 14th in serie c2/c? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: What is the capacity when the 2007–08 season was 1st Serie D/I? <|assistant|> SELECT "c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); Question: What was the largest capacity when the club was F.C. Igea Virtus Barcellona? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: Who had a total of 34? <|assistant|> SELECT "name" FROM "most_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: What rank is Takatōriki having less than 30 total? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: What was the total when the first was November 1966? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: What is the last when the first was January 2001 and more than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: What is the greatest total when the last was September 1970? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text ); Question: What rank is Takatōriki? <|assistant|> SELECT "highest_rank" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text ); Question: What year has 54 (73) points? <|assistant|> SELECT SUM("year") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text ); Question: What is the chassis more recent than 1967? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text ); Question: What is the year of the Lotus 25 chassis? <|assistant|> SELECT AV...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text ); Question: What is the year of the Lotus 18 chassis? <|assistant|> SELECT CO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is First Elected, when District is "Minnesota 2"? <|assistant|> SELECT "firs...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is the lowest First Elected, when Party is "Republican", and when District i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Party, when Results is "Re-Elected", when First Elected is greater than 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text ); Question: What is Incumbent, when Results is "Re-Elected", when Party is "Democratic", and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which Score has a Place of t5, and a Country of united states? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Name The Score of Player of seve ballesteros? <|assistant|> SELECT "score" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which Country has a Place of 2? <|assistant|> SELECT "country" FROM "final_r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many wins did they have when they had 5 losses? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many byes did they have against smaller than 1544, 13 wins, and dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: How many byes has a draw larger than 0? <|assistant|> SELECT COUNT("by...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the lowest against that has less than 9 wins, and draws smalle...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of wins that has byes less than 0? <|assistan...
<|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 is the most money for the score 75-74-72-67=288? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text ); Question: What's the American pronunciation when the Australian is əʉ? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text ); Question: What is the 17th c. pronunciation when the british is əʊ? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text ); Question: What is the 17th c. pronunciation when the British is i and the long vowels are...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text ); Question: What's the British pronunciation when the American and Australian is i? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: What is the height of valérie dionne at Club Sainte-Foy? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); Question: Who has a Date of Birth 1980-07-29? <|assistant|> SELECT "name" FROM "canada" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real ); Question: What is the name of the team f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real ); Question: What is the name of the team f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real ); Question: What are the colors of the tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_qualifying_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is team 1 if Renova is team 2? <|assistant|> SELECT "team_1" FROM "second_q...
<|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" real, "money" real ); Question: What is the highest to par for the 76-70-76-76=298 score? <|assistant|...
<|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" real, "money" real ); Question: What score has a to par of 12 and is from Jersey? <|assistant|> SELECT...
<|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" real, "money" real ); Question: What is the average money for a to par of 15, and is from the United S...
<|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" real, "money" real ); Question: What is the total amount of money that has a t2 place, is from the Uni...
<|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" real, "money" real ); Question: What county has less than $188 and a score of 74-76-73-75=298? <|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, "round" real, "time" text, "location" text ); Question: What is Opponent, when Location is "Winnipeg,...
<|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, "round" real, "time" text, "location" text ); Question: What is Res., when Location is "Butte, Montan...
<|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, "round" real, "time" text, "location" text ); Question: What is Method, when Time is "3:20"? <|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, "round" real, "time" text, "location" text ); Question: What is Location, when Opponent is "Mario Rin...
<|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 much Grid has a Time/Retired of +0.785, and Laps larger than 29? <|assi...
<|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 Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Re...
<|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 Grid smaller than 5, and a Time/Retired of retirement?...
<|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 14, and a Rider of darren barton? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heavyweight_105_kg" ( "name" text, "bodyweight" real, "snatch" text, "clean_jerk" text, "total_kg" text ); Question: Who has a Snatch of 157.0? <|assistant|> SELECT "name" FROM "heavyweight_105...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heavyweight_105_kg" ( "name" text, "bodyweight" real, "snatch" text, "clean_jerk" text, "total_kg" text ); Question: What is the total bodyweight of everyone that has a Snatch of 153.0? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings_and_structures" ( "rank" text, "name" text, "height_metres_ft" text, "floors" text, "year" real ); Question: What ranking is the Battersea Power Station? <|assistant|> SELECT ...