text
stringlengths
310
1.28k
<|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" real ); Question: Who was the opponent before week 8 when the result was l 28-17? <|assistant|> SELECT "oppone...
<|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" real ); Question: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions_of_pre_bundesliga_oberligen" ( "year" real, "nord" text, "west" text, "s_dwest" text, "berlin" text ); Question: What was Berlin when fk pirmasens was Südwest and westfalia herne was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions_of_pre_bundesliga_oberligen" ( "year" real, "nord" text, "west" text, "s_dwest" text, "berlin" text ); Question: What is the earliest year borussia dortmund was west and bfc viktoria ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions_of_pre_bundesliga_oberligen" ( "year" real, "nord" text, "west" text, "s_dwest" text, "berlin" text ); Question: What is the Nord in 1952, when tennis borussia berlin was Berlin? <|as...
<|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: Where did Japan place? <|assistant|> SELECT "place" FROM "final_leader...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the away team when the attendance was 206? <|assistant|> SELECT "away_tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the away team when the Tie no was 34? <|assistant|> SELECT "away_team" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the away team when the attendance was 76? <|assistant|> SELECT "away_team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the home team when the Tie no was 7? <|assistant|> SELECT "home_team" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the Tie no when the away team was east thurrock united? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "plebiscite" ( "constituency" text, "electorate" real, "votes" real, "turnout" real, "spoilt" real, "percent_yes" real ); Question: WHAT IS THE LOWEST TURNOUT FOR AN ELECTORATE LARGER THAN 47,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "plebiscite" ( "constituency" text, "electorate" real, "votes" real, "turnout" real, "spoilt" real, "percent_yes" real ); Question: WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "plebiscite" ( "constituency" text, "electorate" real, "votes" real, "turnout" real, "spoilt" real, "percent_yes" real ); Question: WHAT IS AN AVERAGE ELECTORATE WITH VOTES OF 28,475 AND SPOIL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "plebiscite" ( "constituency" text, "electorate" real, "votes" real, "turnout" real, "spoilt" real, "percent_yes" real ); Question: WHAT IS THE LOWEST ELECTORATE WITH 31,511 VOTES, AND PERCENT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: Where was the game played on January 23, 2008? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: Where was the Singapore Charity Shield tournament playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: Where was the game located on January 23, 2008? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text ); Question: Where is the location of the friendly match larger than...
<|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, "location_attendance" text, "record" text ); Question: When the team is @ Milwaukee, what is the name of the location where th...
<|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, "location_attendance" text, "record" text ); Question: For the game with team of @ Chicago, what was the final score? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text ); Question: How long was Volume:Issue 12:4-6 at the top? <|assistant|> SELECT COUNT("weeks...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What rank did Best Friends receive? <|assistant|> SELECT "rank" FROM "highest_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "points_difference" text, "bonus_points" text, "points" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: When the Home Team wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: What was the Home tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: When Essendon scored ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which player scored 71? <|assistant|> SELECT "player" FROM "first_round" WHERE "score"=71;<|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is the circuit on 19 Apr with Craig Lowndes as the winner? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What circuit has volvo cars australia as the team? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What series was Dick Johnson Racing the team? <|assistant|> SELECT "ser...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What is the city/state of the circuit where Russell Ingall Larry Perkin...
<|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, "date" text ); Question: What date was the away team, team Gillingham? <|assistant|> SELECT "date" FROM "f...
<|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, "date" text ); Question: What was the score for a no. 21 tie? <|assistant|> SELECT "score" FROM "first_rou...
<|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, "date" text ); Question: What was the date for the away team, team Southport? <|assistant|> SELECT "date" ...
<|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, "date" text ); Question: What was the score for the away team, southport? <|assistant|> SELECT "score" FRO...
<|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, "game_site" text, "tv_time" text, "attendance" text ); Question: What was the result when the attendance was 47,971? <|...
<|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, "game_site" text, "tv_time" text, "attendance" text ); Question: What was the result when the attendance was 46,456? <|...
<|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, "game_site" text, "tv_time" text, "attendance" text ); Question: Who was the opponent on september 27, 1998? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" real, "team_1" text, "score" text, "team_2" text, "venue" text ); Question: Which Venue has a Score of 0:0, a Season larger than 2010, and a Team 1 of t&t hanoi? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_csl_teams" ( "team" text, "city" text, "total_seasons" real, "seasons" text, "highest_league" text ); Question: What's the highest league of the Nova Scotia Clippers with a total season...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_csl_teams" ( "team" text, "city" text, "total_seasons" real, "seasons" text, "highest_league" text ); Question: What is the season that has fewer than 5 total seasons and is in Ottawa, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_csl_teams" ( "team" text, "city" text, "total_seasons" real, "seasons" text, "highest_league" text ); Question: What is the least total seasons of the Vancouver 86ers? <|assistant|> SEL...
<|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: Who was the opponent in week 14? <|assistant|> SELECT "opponent" FROM "schedule" WHERE "week...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is Date, when City is "Punta Del Este"? <|assistant|> SELECT "date" FROM "season_4" WHERE "city...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is City, when Prize is "$146,000"? <|assistant|> SELECT "city" FROM "season_4" WHERE "prize"='$...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_4" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: What is Date, when Winner is "Murilo Figueiredo"? <|assistant|> SELECT "date" FROM "season_4" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: What Aspect has a Programming of Saigon Network Television? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: Which Aspect has a Programming of latv? <|assistant|> SELECT "aspect" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: Which Programming has a Channel greater than 51.2 and a PSIP Short Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "digital_channels" ( "channel" real, "video" text, "aspect" text, "psip_short_name" text, "programming" text ); Question: What is the PSIP Short name for the Channel that is less than 51.6? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "beer_name" text, "prize" text, "category" text, "competition" text ); Question: What year did maggs magnificent mild bear win overall at the camra reading branch beer fe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "beer_name" text, "prize" text, "category" text, "competition" text ); Question: What prize did good old boy win in 2002 at the camra london and south east regional compe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "beer_name" text, "prize" text, "category" text, "competition" text ); Question: What year did maggs magnificent mild win a gold medal in the mild and porter category at ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "beer_name" text, "prize" text, "category" text, "competition" text ); Question: What beer won a silver medal at the camra reading branch beer festival in 2008? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "socket" text, "release_date" text, "part_nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "socket" text, "release_date" text, "part_nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "socket" text, "release_date" text, "part_nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "socket" text, "release_date" text, "part_nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "socket" text, "release_date" text, "part_nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Which Pick has a Player of renaldo wynn, and a Round smaller than 1? <|assistant|> SELECT COU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Which Round has a Player of damon jones? <|assistant|> SELECT SUM("round") FROM "nfl_draft" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "college" text ); Question: Which College has a Round smaller than 2? <|assistant|> SELECT "college" FROM "nfl_draft" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" real ); Question: What was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "poll_source" text, "dates_administered" text, "democrat_jay_nixon" text, "republican_kenny_hulshof" text, "lead_margin" real ); Question: What are t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "date" text, "distance" text, "handler" text, "event" text, "location" text ); Question: Which event is located in Northfield, Mn? <|assistant|> SELECT "event" FROM "records" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "date" text, "distance" text, "handler" text, "event" text, "location" text ); Question: Which event has a distance of ft10in (m)? <|assistant|> SELECT "event" FROM "records" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "date" text, "distance" text, "handler" text, "event" text, "location" text ); Question: What distance does the Bass Pro Shops event have? <|assistant|> SELECT "distance" FROM "recor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "records" ( "date" text, "distance" text, "handler" text, "event" text, "location" text ); Question: On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text, "man_of_the_match" text ); Question: Who did they play when there were only 751 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text, "man_of_the_match" text ); Question: When did they play the swindon wildcats awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real, "competition" text, "man_of_the_match" text ); Question: Who was the Man of the Match when they play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" text, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text ); Question: What is the Nationality of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_out_on_loan" ( "nat" text, "name" text, "since" text, "app_l_c_e" text, "goals_l_c_e" text, "ends" real, "transfer_fee" text, "notes" text ); Question: What was the transfer fee f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the american name when ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the british name when t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the value when the brit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the british name when t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the double dotted value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "variations" ( "american_name" text, "british_name" text, "value" text, "dotted_value" text, "double_dotted_value" text, "triple_dotted_value" text ); Question: what is the value when the brit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Home Team, when Date is "28 January 1984", and when Tie No is "4"? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Date, when Away Team is "Gillingham"? <|assistant|> SELECT "date" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Home Team, when Date is "1 February 1984", and when Tie No is "5"? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Away Team, when Home Team is "Sheffield Wednesday"? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"? <...
<|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 to par has tom kite as the player? <|assistant|> SELECT "to_par"...
<|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 player has a t57 as the finish? <|assistant|> SELECT "player" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What is the lowest total that has 1992 as the year (s) won? <|assista...
<|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 player has +21 as the to par? <|assistant|> SELECT "player" FROM...
<|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: Which to par has a total less than 296? <|assistant|> SELECT "to_par"...
<|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 finish has +21 as the to par? <|assistant|> SELECT "finish" FROM...
<|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 total number of events that had 34 cuts and 3...
<|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" real ); Question: Who played with more than 51,901 attendance and resulted in t 13-13? <|assistant|> SELECT "o...
<|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 "doubles_finals_53_26_27" ( "outcome" text, "date" real, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which surface had a date after 1982 an...
<|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" real ); Question: What was the result of the week 9 game? <|assistant|> SELECT "result" FROM "schedule" WHERE ...