text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "advocates" ( "advocate" text, "wins" real, "losses" real, "ties" real, "poll_wins" real, "poll_losses" real ); Question: What is the highest poll of the advocate Andy Kindler with poll losses...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "season" text, "events" real, "cashes" real, "match_play" real, "tv_finals" real, "pba_titles" real, "average" real, "earnings" text ); Question: Which PBA Titles has...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "season" text, "events" real, "cashes" real, "match_play" real, "tv_finals" real, "pba_titles" real, "average" real, "earnings" text ); Question: Which Events has Ear...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "season" text, "events" real, "cashes" real, "match_play" real, "tv_finals" real, "pba_titles" real, "average" real, "earnings" text ); Question: Which Cashes has a M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" text, "conference" text, "division" text, "finish" text, "wins" text, "losses" text ); Question: What is the Finish for the 1950–51? season? <|assistant|> SELECT "finish" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" text, "conference" text, "division" text, "finish" text, "wins" text, "losses" text ); Question: What is the Losses at the western conference and the 2004–05 season? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" text, "conference" text, "division" text, "finish" text, "wins" text, "losses" text ); Question: What Season has wins as the philadelphia warriors (nba)? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" text, "conference" text, "division" text, "finish" text, "wins" text, "losses" text ); Question: What shows for Wins when there was a Conference of —, western division, in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seasons" ( "season" text, "conference" text, "division" text, "finish" text, "wins" text, "losses" text ); Question: What is the Conference for the 1967–68 season? <|assistant|> SELECT "confe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record_incomplete" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: What is the Locati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record_incomplete" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: What Round has a T...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record_incomplete" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: What is the Round ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record_incomplete" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: What is the Locati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record_incomplete" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: What is the Event ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "year" real, "class" text, "team_name" text, "bike" text, "riders" text, "races" text, "wins" real, "podiums" real, "poles" real, "f_laps" real, "points" text, "pos" tex...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Average has a Band of f? <|assistant|> SELECT "average" FROM "current_bands" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Band has a Ratio of 9/9? <|assistant|> SELECT "band" FROM "current_bands" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Ratio as % has a Ratio of 8/9? <|assistant|> SELECT "ratio_as_pct" FROM "current...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Value has a Ratio as % of 100%? <|assistant|> SELECT "value" FROM "current_bands...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Ratio has a Ratio as % of 78%? <|assistant|> SELECT "ratio" FROM "current_bands"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_bands" ( "band" text, "value" text, "ratio" text, "ratio_as_pct" text, "average" text ); Question: Which Band has a Ratio of 13/9? <|assistant|> SELECT "band" FROM "current_bands" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_championship_series" ( "year" real, "series" text, "winning_team" text, "losing_team" text, "score" text, "site" text ); Question: What was the latest year that the Atlanta Braves won ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_championship_series" ( "year" real, "series" text, "winning_team" text, "losing_team" text, "score" text, "site" text ); Question: Who won the series when the San Francisco Giants lost...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_championship_series" ( "year" real, "series" text, "winning_team" text, "losing_team" text, "score" text, "site" text ); Question: Where was the series that the Kansas City Royals lost...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_championship_series" ( "year" real, "series" text, "winning_team" text, "losing_team" text, "score" text, "site" text ); Question: Who was the winning team in 2008? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "lost" real, "tied" text, "points" real, "pct_pct" real, "goals_for" real, "goals_against" real, "penalty_minutes" real ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "lost" real, "tied" text, "points" real, "pct_pct" real, "goals_for" real, "goals_against" real, "penalty_minutes" real ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "lost" real, "tied" text, "points" real, "pct_pct" real, "goals_for" real, "goals_against" real, "penalty_minutes" real ); Quest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_final" ( "draw" real, "artist" text, "song" text, "result" text, "place" real ); Question: What is the place of the song 'Never Change'? <|assistant|> SELECT SUM("place") FROM "nationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_final" ( "draw" real, "artist" text, "song" text, "result" text, "place" real ); Question: What is the name of Aleko Berdzenishvili's song? <|assistant|> SELECT "song" FROM "national_f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text ); Question: What was the lowest pick for the RHP position and player Mike Biko? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_preference_votes_by_constituency" ( "constituency" text, "michael_d_higgins" text, "se_n_gallagher" text, "martin_mc_guinness" text, "gay_mitchell" text, "david_norris" text, "dana_ros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_preference_votes_by_constituency" ( "constituency" text, "michael_d_higgins" text, "se_n_gallagher" text, "martin_mc_guinness" text, "gay_mitchell" text, "david_norris" text, "dana_ros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_preference_votes_by_constituency" ( "constituency" text, "michael_d_higgins" text, "se_n_gallagher" text, "martin_mc_guinness" text, "gay_mitchell" text, "david_norris" text, "dana_ros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_preference_votes_by_constituency" ( "constituency" text, "michael_d_higgins" text, "se_n_gallagher" text, "martin_mc_guinness" text, "gay_mitchell" text, "david_norris" text, "dana_ros...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fide_january_2008_top_ten" ( "rank" real, "prev" real, "player" text, "rating" real, "chng" text ); Question: Can you tell me the total number of Prev that has the Chng of +10, and the Rating l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1832_1885" ( "election" real, "first_member" text, "first_party" text, "second_member" text, "second_party" text, "third_member" text, "third_party" text ); Question: Who is the second memb...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1832_1885" ( "election" real, "first_member" text, "first_party" text, "second_member" text, "second_party" text, "third_member" text, "third_party" text ); Question: Who is the third membe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1832_1885" ( "election" real, "first_member" text, "first_party" text, "second_member" text, "second_party" text, "third_member" text, "third_party" text ); Question: Who is the third membe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1832_1885" ( "election" real, "first_member" text, "first_party" text, "second_member" text, "second_party" text, "third_member" text, "third_party" text ); Question: What was the highest e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" real, "team" text, "conference" text, "head_coach" text, "record" text ); Question: What was the record of the team with head coach Steve Spurrier? <|assistant|> SELECT "rec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" real, "team" text, "conference" text, "head_coach" text, "record" text ); Question: What was USC's record before the 1967 season? <|assistant|> SELECT "record" FROM "winners...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" real, "team" text, "conference" text, "head_coach" text, "record" text ); Question: What was the record during the 1973 season? <|assistant|> SELECT "record" FROM "winners" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" text, "place" text, "perfect_40s" text, "total" text, "number_of_dances" text, "season" text, "average" text ); Question: What is the aver...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" text, "place" text, "perfect_40s" text, "total" text, "number_of_dances" text, "season" text, "average" text ); Question: What is the tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" text, "place" text, "perfect_40s" text, "total" text, "number_of_dances" text, "season" text, "average" text ); Question: What was the pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" text, "place" text, "perfect_40s" text, "total" text, "number_of_dances" text, "season" text, "average" text ); Question: What is the tota...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "average_scores_of_all_couples" ( "rank_by_average" text, "place" text, "perfect_40s" text, "total" text, "number_of_dances" text, "season" text, "average" text ); Question: What rank by ave...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real, "first_round" text, "final_round" text ); Question: What was the final round score for the player from t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real, "first_round" text, "final_round" text ); Question: What position does the player with a first round sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real, "first_round" text, "final_round" text ); Question: What is the height of the player with a first round ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real, "first_round" text, "final_round" text ); Question: Which player weighs 187 pounds? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_kurt_maschler_award" ( "year" real, "author" text, "illustrator" text, "title" text, "publisher" text ); Question: Who was the illustrator in 1987? <|assistant|> SELECT "illustra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_kurt_maschler_award" ( "year" real, "author" text, "illustrator" text, "title" text, "publisher" text ); Question: How many years was the title drop dead? <|assistant|> SELECT CO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_kurt_maschler_award" ( "year" real, "author" text, "illustrator" text, "title" text, "publisher" text ); Question: Which publisher has a title of drop dead? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "words_derived_from_non_indo_european_lan" ( "english" text, "german" text, "dutch" text, "icelandic" text, "latin" text, "greek" text, "russian" text ); Question: What Greek word means the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "words_derived_from_non_indo_european_lan" ( "english" text, "german" text, "dutch" text, "icelandic" text, "latin" text, "greek" text, "russian" text ); Question: What word in German transl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "words_derived_from_non_indo_european_lan" ( "english" text, "german" text, "dutch" text, "icelandic" text, "latin" text, "greek" text, "russian" text ); Question: What is the Dutch translat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "words_derived_from_non_indo_european_lan" ( "english" text, "german" text, "dutch" text, "icelandic" text, "latin" text, "greek" text, "russian" text ); Question: What Dutch word has the sa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "words_derived_from_non_indo_european_lan" ( "english" text, "german" text, "dutch" text, "icelandic" text, "latin" text, "greek" text, "russian" text ); Question: What English word has the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: How many wins are related to events of 7 and more than 2 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: What is the most cuts made for events with 1 top-5, 2 top...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" text, "source" text, "year" real ); Question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" text, "source" text, "year" real ); Question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity rich...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" text, "source" text, "year" real ); Question: Can you tell me the Source that has the Rank of 78? <|assistant|> SELECT "source" FROM "rankings" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rankings" ( "name" text, "rank" real, "out_of" text, "source" text, "year" real ); Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: Which Tournament has a 2004 of 1r? <|assistant|> SELECT "tournament" FROM "dou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: What is the 2005 that has a grand slam tournaments in 2007? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: What is the 2006 that has a 2r in 2004, and a 2r in 2005? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: What is the 2007 that has a grand slam tournaments in 2006. <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: What is the 2004 that has a of grand slam tournaments in2006 ? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2004" text, "2005" text, "2006" text, "2007" text ); Question: What is 2006 has a 2007 of 3r? <|assistant|> SELECT "2006" FROM "doubles_perfo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_domestic_destinations_out_of_btv_oct" ( "rank" real, "city" text, "airport" text, "passengers" real, "carriers" text ); Question: What was the number of passengers going to MCO with a rank ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_domestic_destinations_out_of_btv_oct" ( "rank" real, "city" text, "airport" text, "passengers" real, "carriers" text ); Question: What was the airport with primary carrier of US Airways wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_domestic_destinations_out_of_btv_oct" ( "rank" real, "city" text, "airport" text, "passengers" real, "carriers" text ); Question: What city had a rank before 3 and primary carrier JetBlue A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1818_1821_orders" ( "name" text, "built_by_hm_dockyard" text, "ordered" text, "laid_down" text, "launched" text ); Question: What was launched and laid down in February 1819? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_f3_challenge" ( "pos" real, "driver" text, "qualifying" real, "race_1" text, "race_2" text, "race_3" text, "points" real ); Question: What is the total number of positions with less th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is Date, when Set 2 is 25-13? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is Total, when Set 5 is NA, and when Set ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is Score, when Date is Jun 16, and when S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is Set 2, when Score is 3-0, when Date is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_pool_b" ( "date" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "set_4" text, "set_5" text, "total" text ); Question: What is Set 4, when Set 1 is 25-18, and when D...
<|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 Team with a S...
<|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 High points w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the largest played whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What points average has a play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the smallest drawn wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: At what average position is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: How many played has an against...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "date" text, "location" text, "country" text, "event" text, "winner" text, "runner_up" text ); Question: The event rip curl pro mademoiselle is in which location? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tournaments" ( "date" text, "location" text, "country" text, "event" text, "winner" text, "runner_up" text ); Question: On the date november 24-december 6 what's the winner when the country i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_competition_record" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: Which year was the 100 m event played in Thessaloniki, Greece? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_competition_record" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: Which position was the World Indoor Championships in a year later than 2008...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_competition_record" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What position was played at the World Athletics Final Competition in a year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "major_competition_record" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What position was played at the World Athletics Final Competition in a year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "some_differences_in_relation_to_later_ed" ( "date" real, "doubles_i_class" real, "doubles_ii_class" real, "greater_doubles" real, "doubles" real, "semidoubles" real, "total" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "some_differences_in_relation_to_later_ed" ( "date" real, "doubles_i_class" real, "doubles_ii_class" real, "greater_doubles" real, "doubles" real, "semidoubles" real, "total" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "some_differences_in_relation_to_later_ed" ( "date" real, "doubles_i_class" real, "doubles_ii_class" real, "greater_doubles" real, "doubles" real, "semidoubles" real, "total" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "some_differences_in_relation_to_later_ed" ( "date" real, "doubles_i_class" real, "doubles_ii_class" real, "greater_doubles" real, "doubles" real, "semidoubles" real, "total" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "college" ( "year" text, "team" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text ); Question: What are the goals of the assists of 5? <|assistant|> SELECT "goals" FROM "co...