text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "le_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "barrel_length" text, "barrel_profile" text, "barrel_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mt_and_cr_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mt_and_cr_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mt_and_cr_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mt_and_cr_series_models" ( "colt_model_no" text, "name" text, "stock" text, "fire_control" text, "rear_sight" text, "forward_assist" text, "case_deflector" text, "barrel_length" text, "b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1995_96_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_2009_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates" ( "candidate" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: Where is the real estate agent from? <|assistant|> SELECT "hom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates" ( "candidate" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What background does the person from New york, New york, have?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates" ( "candidate" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: How many backgrounds are there represented from Memphis, Tenne...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates" ( "candidate" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: How many people had a prosecutor background? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates" ( "candidate" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: Where was Kristen Kirchner from? <|assistant|> SELECT "hometow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "won" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text ); Question: What is the against percentage in the V...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text ); Question: How many electorates are there with Hed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text ); Question: How many for percentages are there when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text ); Question: List the smallest possible spoilt vote ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_constituency" ( "constituency" text, "electorate" real, "s_spoilt_vote" real, "total_poll_pct" text, "for_pct" text, "against_pct" text ); Question: List all total poll percentages when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_3" ( "num" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: What's the writer of Episode 1? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_3" ( "num" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: What's the total number of episodes both directe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_3" ( "num" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: What's the original airdate of the episode direc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_3" ( "num" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: How many millions of viewers did watch Episode 5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_3" ( "num" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: What's the total number of directors whose episo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_2" ( "no" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: Who directed Episode 5? <|assistant|> SELECT "dir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12919003_2" ( "no" real, "episode" text, "writer" text, "director" text, "viewers_millions" text, "original_airdate" text ); Question: How many viewers did Episode 5 have? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's the no with current club being panathinaik...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's height with position being center and year ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's player with position being forward and curr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's current club with player being nikolaos cha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's current club with height being 2.09 <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's current club with position being center and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "kickoff_et" text, "tv" text, "opponent" text, "result" text, "record" text, "game_site" text ); Question: What is the opponent of the veterans stadi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What year was the player born who is 2.02m tall? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What number does aleksandar ćapin wear? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: Name the total number of grupo capitol valladolid ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: Name the height for the player born in 1980 and ce...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What is the total number that has a height of 2.06...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: Name the current club for number 6 <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: Name the current club for player sacha giffa <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What is the minimum year born for strasbourg? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: Which club had a player born in 1983? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: How tall is Marco Belinelli? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What number is Andrea Bargnani? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: What player is number 6? <|assistant|> SELECT "pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: How many clubs does number 6 play for? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: how many player with no being 12 <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's the height with position being forward and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's the height with current club being dkv jove...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fiba_euro_basket_2007_squads" ( "no" real, "player" text, "height" text, "position" text, "year_born" real, "current_club" text ); Question: what's the current club with player being felipe r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12976038_1" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); Question: Who directed the e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12976038_1" ( "episode_num" real, "series_num" real, "title" text, "director" text, "writer" text, "original_airdate" text, "viewers_in_millions" text ); Question: What number episod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactors" ( "unit" text, "type" text, "net_power" text, "total_power" text, "construction_start" text, "construction_finish" text, "commercial_operation" text, "shut_down" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactors" ( "unit" text, "type" text, "net_power" text, "total_power" text, "construction_start" text, "construction_finish" text, "commercial_operation" text, "shut_down" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactors" ( "unit" text, "type" text, "net_power" text, "total_power" text, "construction_start" text, "construction_finish" text, "commercial_operation" text, "shut_down" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactors" ( "unit" text, "type" text, "net_power" text, "total_power" text, "construction_start" text, "construction_finish" text, "commercial_operation" text, "shut_down" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "reactors" ( "unit" text, "type" text, "net_power" text, "total_power" text, "construction_start" text, "construction_finish" text, "commercial_operation" text, "shut_down" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12995531_3" ( "series_number" text, "episode_number" real, "date_of_first_broadcast" text, "total_viewers" real, "series_average" real ); Question: what is the total viewers where the da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12995531_3" ( "series_number" text, "episode_number" real, "date_of_first_broadcast" text, "total_viewers" real, "series_average" real ); Question: what is the episode number where the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_12995531_3" ( "series_number" text, "episode_number" real, "date_of_first_broadcast" text, "total_viewers" real, "series_average" real ); Question: what is the series number where the d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: In what year did Easton L...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: What teams played in Wash...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: Which year did Maryland h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: Who played in Maryland th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: After the year 2008.0, wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "delaware" text, "maryland" text, "new_jersey" text, "new_york" text, "pennsylvania" text, "washington_d_c" text ); Question: Who played in Maryland th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1301373_1" ( "team" text, "location" text, "stadium" text, "founded" real, "joined" real, "head_coach" text, "captain" text ); Question: Where is Bluetongue Stadium located? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1301373_1" ( "team" text, "location" text, "stadium" text, "founded" real, "joined" real, "head_coach" text, "captain" text ); Question: When was the team, whose captain is Matt Smit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1301373_1" ( "team" text, "location" text, "stadium" text, "founded" real, "joined" real, "head_coach" text, "captain" text ); Question: Who's the captain of the team whose head coac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1301373_1" ( "team" text, "location" text, "stadium" text, "founded" real, "joined" real, "head_coach" text, "captain" text ); Question: How many locations does the team Newcastle Je...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1301373_1" ( "team" text, "location" text, "stadium" text, "founded" real, "joined" real, "head_coach" text, "captain" text ); Question: Where is Westpac Stadium located? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regional_championship" ( "year" real, "connecticut" text, "maine" text, "massachusetts" text, "new_hampshire" text, "rhode_island" text, "vermont" text ); Question: What is the new hampshir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_one_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "b_p" real, "points" real ); Question...
<|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, "record" text, "attendance" real ); Question: What was the date of the game in week 14? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_two_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "bonus_points" real, "points" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_league_two_table" ( "position" real, "club" text, "played" real, "won" real, "drawn" real, "lost" real, "pts_for" real, "pts_agst" real, "bonus_points" real, "points" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the captain for ben...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the international m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the australian marq...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the vice captain fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the number of austr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "marquee_player" ( "club" text, "australian_marquee" text, "international_marquee" text, "junior_marquee_player" text, "captain" text, "vice_captain" text ); Question: Name the captain for emi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_18" ( "year" text, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: What championship had a margin of playoff 2? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_18" ( "year" text, "championship" text, "54_holes" text, "winning_score" text, "margin" text, "runner_s_up" text ); Question: What was the margin of the Masters Tournament? <|assistant|>...