text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: When was the home team score 17.5 (107)?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: What was the away team when the home was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_c" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text ); Question: Who was the away team on sunday, 13 febr...
<|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, "attendance" text ); Question: Which Week has a Date of december 3, 2001? <|assistant|> SELECT "week" FROM "schedule" WHERE...
<|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, "attendance" text ); Question: Which Week has a Opponent of tennessee titans? <|assistant|> SELECT "week" FROM "schedule" W...
<|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 are the years won with a total of 282? <|assistant|> SELECT "yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What was the date when the against was 3? <|assistant|> SELECT "date" FROM "fa_cup" WHERE "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What was the Against when the Opposing Team was sheffield wednesday? <|assistant|> SELECT "a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: Which round was played in the H Venue on 29 january 1949? <|assistant|> SELECT "round" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What is the total number of Against that were played in the H Venue on 26 february 1949? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "opposing_team" text, "against" real, "date" text, "venue" text, "round" text ); Question: What was the round for 29 January 1949, when the against was 1? <|assistant|> SELECT "round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: What is the Result when the Attendance is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: On what date was Stuart Potts the Man of t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: Who was the Opponent when Terry Miles was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: What was the Result of the game dated 21st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: Which Venue is listed under the Date of 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" text, "competition" text, "man_of_the_match" text ); Question: What was the Result on the Date of 25th? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text ); Question: What was the rank when the opponent was Wisconsin (played at Wisconsin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text ); Question: What was the result when they played at Michigan State? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text ); Question: Who was the opponent when the result was w24-7? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text ); Question: How many were in attendance when they played vs. 12 Stanford? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real ); Question: Which Big (>500ha) has a Micro (10ha) l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real ); Question: Which Small (100ha) has a Big (>500ha) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real ); Question: How much Micro (10ha) has a Big (>500ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "irrigation_infrastructure" ( "department" text, "micro_10ha" real, "small_100ha" real, "medium_500ha" real, "big_500ha" real, "total" real ); Question: Which Small (100ha) is the highest one ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defence" ( "player" text, "sacks" real, "ints" real, "int_yds" real, "int_lg" real, "int_td" real, "fumb_r" real, "fumb_yds" real, "fumb_lg" real, "fumb_td" real, "fumb_f" real ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defence" ( "player" text, "sacks" real, "ints" real, "int_yds" real, "int_lg" real, "int_td" real, "fumb_r" real, "fumb_yds" real, "fumb_lg" real, "fumb_td" real, "fumb_f" real ); Q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "oldest_living_test_cricketers" ( "name" text, "country" text, "date_of_birth" text, "debut" text, "last_match" text, "age_as_of_1_february_2014" text ); Question: What is the name of the pers...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "oldest_living_test_cricketers" ( "name" text, "country" text, "date_of_birth" text, "debut" text, "last_match" text, "age_as_of_1_february_2014" text ); Question: What is the Pananmal Punjabi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_wac_women_s_basketball_tournament_r" ( "year" real, "winner" text, "score" text, "opponent" text, "location" text ); Question: Who was the winner after 2011? <|assistant|> SELECT "winner" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_wac_women_s_basketball_tournament_r" ( "year" real, "winner" text, "score" text, "opponent" text, "location" text ); Question: What was the lowest year for TCU? <|assistant|> SELECT MIN("y...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the score of player bill rogers? <|assistant|> SELECT "score" FROM "third_round" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the country with a t7 place and a 69-68-72=209 score? <|assistant|> SELECT "country"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the place of player jim thorpe? <|assistant|> SELECT "place" FROM "third_round" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the place of player chi-chi rodríguez? <|assistant|> SELECT "place" FROM "third_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Who is the player with a 69-68-71=208 score? <|assistant|> SELECT "player" FROM "third_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What state had a title of duke for the royal house of ji? <|assistant|> SELECT "state" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What state had the name of wu for the royal house of ji? <|assistant|> SELECT "state" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What was the name listed for the royal house of jiang and a title of duke? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What was the name when the state was wey? <|assistant|> SELECT "name" FROM "vassal_states"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What was the title for the state of qin? <|assistant|> SELECT "title" FROM "vassal_states"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text ); Question: What was the state that had the vassal name of li? <|assistant|> SELECT "state" FROM "vass...
<|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: Where was the match held that...
<|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: The match against Mark Hunt h...
<|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: Who was the match against at ...
<|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: The match that went 1 round, ...
<|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: Who is the player with a t7 place? <|assistant|> SELECT "player" FROM "final...
<|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: What is the lowest amount of money player jim colbert has? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); Question: What is the average Enrollment of Dickinson College? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); Question: Which institution has a nickname of Blue Hens? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real ); Question: What is the nickname of the college established in 1773? <|assistan...
<|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, "time" text, "location" text ); Question: What was the time of round 2 ...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|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 Money has a Score of 70-68-73-68=279? <|assistant|> SELECT MIN("money"...
<|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 To par of +1, and a Player of masashi ozaki? <|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: Which money has a Country of united states, and a Place of t6? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, ...
<|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, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text ); Question: What date was match 5? <|assistant|> SELECT "date" FROM "afc_cup" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text ); Question: What was the game score on april 2, 2008? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "afc_cup" ( "match" real, "date" text, "round" text, "home_away" text, "opponent_team" text, "score" text ); Question: What is the average match when the singapore armed forces played away aga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the ICAO for Seewoosagur Ramgoolam airport? <|assistant|> SELECT "icao" FROM "references...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the IATA for San Francisco airport? <|assistant|> SELECT "iata" FROM "references" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: Which city has an ICAO of Oejn? <|assistant|> SELECT "city" FROM "references" WHERE "icao"='oejn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the IATA for Gatwick airport? <|assistant|> SELECT "iata" FROM "references" WHERE "airpo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is the ICAO in France with an IATA of Ory? <|assistant|> SELECT "icao" FROM "references" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Questi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_the_20th_centur" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What is Rinnal's title? <|assistant|> SELECT "title" FROM "list_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_state_leaders_in_the_20th_centur" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text ); Question: What title was used in 1911 bc? <|assistant|> SELECT "title" FRO...
<|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: Which player from United States is in place of t6? <|assistant|> SELECT "player" FROM "seco...
<|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: Phil Mickelson has what To par? <|assistant|> SELECT "to_par" FROM "second_round" WHERE "p...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What high assists have a g...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What are the high points t...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What record has 46 as the ...
<|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 THE PLACE WITH A SCORE OF 67-70=137? <|assistant|> SELECT "place" FROM "second_roun...
<|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 PLAYER HAS A SCORE OF 66-73=139? <|assistant|> SELECT "player" FROM "second_round" WHE...
<|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 PLACE WAS A SCORE 67-70=137? <|assistant|> SELECT "place" FROM "second_round" WHERE "s...
<|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 COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM? <|assistant|> SELECT "country" FROM "second_...
<|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 COUNTRY HAS A SCORE OF 68-70=138? <|assistant|> SELECT "country" FROM "second_round" W...
<|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: What was the earliest week when the New Orleans Saints were the opponents?...
<|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: What was the name of the opponent that having a TV time of Bye? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: What is the Parameter that has the third phase of 0.50 m? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: What is the second stage that has the third phase of 20kn? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: What is the third stage that has the first phase of 5,443kg? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text ); Question: What is the Parameter that has the third phase of 20kn? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What year did the Grizzlies play for the UNLV team? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What nationality is the forward/center position? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What team is from the United States and plays a guard position for the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text ); Question: What position is the player from the United States play for the Grizzli...
<|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: What is the total number of Bronze, when Gold is greater than 0, when Rank is 4...
<|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: What is the total number of Total, when Gold is less than 1, when Silver is gre...