text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "history" ( "year" real, "western_champion" text, "result" text, "eastern_champion" text, "finals_mvp" text ); Question: What is the score from the Sacramento monarchs from the west and the Conn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text ); Question: Who is the nominee for Best Lead Actress? <|assistant|> SELECT "nominee" FROM "awards" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text ); Question: In what category is Carmen Salinas nominated? <|assistant|> SELECT "category" FROM "awards" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text ); Question: What year was there a category of Best Supporting Actress? <|assistant|> SELECT SUM("year") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text ); Question: What Londongborough has a Dialcode of 01992? <|assistant|> SELECT "lon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text ); Question: What is the Dialcode of whitechapel? <|assistant|> SELECT "dialcode" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text ); Question: What is the name of the Post code district that is in Eden Park? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text ); Question: Which Post Town has a Dialcode of 020 and is located in Hook? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text ); Question: What Dialcode has a location of Edmonton? <|assistant|> SELECT "dialco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: Which average rank has an Earning amount that is less than $224,589? <|assistant|> SELECT AVG("r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: Which country has a rank of 2? <|assistant|> SELECT "country" FROM "leaders" WHERE "rank"=2;<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "howick_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the total number on roll for Shelly Park school? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: What week was the record 0-5? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: What was the result of the game wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text ); Question: What time was the kickoff on Septem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text ); Question: Which Player had a Long of 5 and Yards of 6? <|assistant|> SELECT "player" FROM "ru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text ); Question: What was the total number of TD's for Player Lashaun Ward while also having a Long ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text ); Question: How many Yards did Player Rob Turner collect? <|assistant|> SELECT "yards" FROM "ru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who is the home team on March 5? <|assistant|> SELECT "home" FROM "game_log" WHERE "date"='march 5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who is the visitor on March 24? <|assistant|> SELECT "visitor" FROM "game_log" WHERE "date"='march...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was the home team on March 24? <|assistant|> SELECT "home" FROM "game_log" WHERE "date"='march...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the total crowd at the game whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What date did a home team score 16.15 (1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: what was the total crowd in the game whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On which date was the game where the hom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real ); Question: what is the lowest solo when assisted is less than 10, td's is 0,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real ); Question: what is the assisted when the solo is 6 and sack is less than 5? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real ); Question: what is the highest td's when the sack is less than 13, tackles i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text ); Question: What player has a college named san sebastian? <|assistant|> SELECT "player" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text ); Question: What college has pick 45 <|assistant|> SELECT "college" FROM "round_5" WHERE "pick"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real ); Question: Name the air date for the seasons before...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real ); Question: Tell me the title for the production cod...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real ); Question: Name the least series number with produc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real ); Question: Which Can Yayınları ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real ); Question: Which 2005 has a Güzel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real ); Question: Which 2005 has a Güzel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the grid when the driver is pierre levegh? <|assistant|> SELECT "grid" FROM "race" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the grid when the laps is 2? <|assistant|> SELECT "grid" FROM "race" WHERE "laps"=2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the time/retired when the driver is toulo de graffenried? <|assistant|> SELECT "tim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the time/retired when the grid is less than 13, the constructor is alfa romeo and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the grid when the laps is more than 20? <|assistant|> SELECT SUM("grid") FROM "race...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text ); Question: Tell me the player for ballarat football league <|assistant|> SELECT "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text ); Question: Tell me the player for east perth <|assistant|> SELECT "player" FROM "go...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text ); Question: Tell met he score for team of waaia <|assistant|> SELECT "score" FROM "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text ); Question: Tell me the team for victorian football league <|assistant|> SELECT "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text ); Question: What round was the debut of Scott Tunbridge? <|assistant|> SELECT "debut" FROM "in" WHERE "na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text ); Question: What round was the debut of defender Stephen Laybutt? <|assistant|> SELECT "debut" FROM "in" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text ); Question: What position had a debut in round 6? <|assistant|> SELECT "position" FROM "in" WHERE "debut"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text ); Question: What is the name of the player that had a debut in round 6? <|assistant|> SELECT "name" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text ); Question: What date did the player from Santo André debut? <|assistant|> SELECT "date_joined" FROM "in"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text ); Question: what is the venue when the score is 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text ); Question: Who is the winning team when the year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text ); Question: what is the highest year that the U.S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text ); Question: what is the location when the year is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: How much did jim colbert earned ranked above 2? <|assistant|> SELECT COUNT("earnings") FROM "lea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the away team score where the cr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the largest crowd with a Home te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day did the VFL play at Junction Ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did Footscray play as the home tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the opponent when Footscray play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the attendance when the VFL pla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: What was the score June 22? <|assistant|> SELECT "loss" FROM "game_log" WHERE "date"='june 22';<|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: Which school has a hometown of winter park, FL? <|assistant|> SELECT "school" FROM "2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What's the college of the player with a height of 6-4 and went to lake howell high sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What's the hometown of the player with a college of lsu? <|assistant|> SELECT "hometo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What's the heigh of the player who went to lake howell high school? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What's the heigh of nolan smith? <|assistant|> SELECT "height" FROM "2007_boys_team" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text ); Question: What's the height of the player who went to oak hill academy? <|assistant|> SELECT "h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the home team when the away team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On what date did the game at Windy Hill ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the venue when the away team wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team when the game was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: What position has less than 343 laps in 2010...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: What are panoz motor sports' lowest number o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|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, "attendance" real ); Question: What week was the game played at Robert f. Kennedy memorial stadium with...
<|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, "attendance" real ); Question: What was the result of the game played in texas stadium with more than 4...
<|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, "attendance" real ); Question: What opponent had a game with more than 50,705 in attendace on September...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the time/retired associated with a grid of 5 and under 73 laps? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "placings" real, "figures" real, "free" real, "total" real ); Question: What was the free score of the skater with a total of 156.67? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "placings" real, "figures" real, "free" real, "total" real ); Question: What was the average figure score of the skater with a free score und...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text ); Question: Which opponent had round 1? <|assistant|> SELECT "opponent" FROM "comp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text ); Question: Which date's opponent was Dender when the tournament was in the Jupile...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text ); Question: Which ground's round was 33? <|assistant|> SELECT "ground" FROM "compe...