text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the home team footscray score? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "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 size for the him...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the Home team at corio oval? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team score when the cr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real ); Question: What livery was worn on the date before 1936, with th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real ); Question: Which number and name has the description Gresley RB ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real ); Question: Who is the owner before 1940, who had a number and na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stichting_academisch_rekencentrum_amster" ( "number" real, "type" text, "clock" text, "scratch" text, "memory" text, "cache" text ); Question: What type has a scratch of 750 GB? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stichting_academisch_rekencentrum_amster" ( "number" real, "type" text, "clock" text, "scratch" text, "memory" text, "cache" text ); Question: What is the Cache for a Number 64 with a Memory ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stichting_academisch_rekencentrum_amster" ( "number" real, "type" text, "clock" text, "scratch" text, "memory" text, "cache" text ); Question: What is the Memory for a Number 32 with a Clock ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forwards" ( "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text ); Question: Of those acquired in 2008, where were they born? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forwards" ( "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text ); Question: What is the shooting preference of Matthew Myers, acquired i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forwards" ( "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text ); Question: In what year was player Bruce Graham acquired? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "as_a_result_of_the_elections" ( "d_40" text, "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45_o" text, "d_46_o" text, "r_53" text, "r_52" text, "r_51" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "as_a_result_of_the_elections" ( "d_40" text, "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45_o" text, "d_46_o" text, "r_53" text, "r_52" text, "r_51" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "as_a_result_of_the_elections" ( "d_40" text, "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45_o" text, "d_46_o" text, "r_53" text, "r_52" text, "r_51" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "as_a_result_of_the_elections" ( "d_40" text, "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45_o" text, "d_46_o" text, "r_53" text, "r_52" text, "r_51" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "as_a_result_of_the_elections" ( "d_40" text, "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45_o" text, "d_46_o" text, "r_53" text, "r_52" text, "r_51" text ); Question: Name ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "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 "final_table" ( "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_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did Melbourne play as the away tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "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 South Melbo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "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 Footscray p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "powlesland_and_mason" ( "manufacturer" text, "type" text, "quantity" real, "p_m_nos" text, "gwr_nos" text ); Question: What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufactu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction_stadium_s" ( "stadium" text, "capacity" real, "city" text, "club" text, "opening" real ); Question: What is the lowest capacity with an opening larger than 2015 in Trabzon? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_construction_stadium_s" ( "stadium" text, "capacity" real, "city" text, "club" text, "opening" real ); Question: What is the average opening at Stadyum Samsun with a capacity smaller than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: What is the Years for Jazz Club at Oregon State? <|assistant|> SELECT "years...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: Which player is Andre Owens in Year for Jazz? <|assistant|> SELECT "years_fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: What is the Year for Jazz club of Houston? <|assistant|> SELECT "years_for_j...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: What is position does Dan O'Sullivan play? <|assistant|> SELECT "position" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: What position in the club team of Kansas? <|assistant|> SELECT "position" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "o" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text ); Question: Who is the center position of Years for Jazz, Greg Ostertag? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: What is the Date for the Away team University? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: What is the Home team score at junction oval? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: What is the Away team score when Home team score is at 5....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: What Date did the Home team play in essendon? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_officers" ( "country" text, "of_5" text, "of_4" text, "of_2" text, "of_1" text ); Question: What country has OF-1 Locotenent? <|assistant|> SELECT "country" FROM "other_officers" WHERE "o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_officers" ( "country" text, "of_5" text, "of_4" text, "of_2" text, "of_1" text ); Question: What country has OF-1 Locotenent? <|assistant|> SELECT "country" FROM "other_officers" WHERE "o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_officers" ( "country" text, "of_5" text, "of_4" text, "of_2" text, "of_1" text ); Question: Which OF-5 is in Ghana? <|assistant|> SELECT "of_5" FROM "other_officers" WHERE "country"='ghan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "other_officers" ( "country" text, "of_5" text, "of_4" text, "of_2" text, "of_1" text ); Question: What is the OF-4 of Albania? <|assistant|> SELECT "of_4" FROM "other_officers" WHERE "country"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the total pick numbers for the CFL team Edmonton Eskimos? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What p;layer attended Concordia College? <|assistant|> SELECT "player" FROM "round_fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text ); Question: What is the total number of picks for the position of OL? <|assistant|> SELECT SUM("p...
<|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: Name the highest week for result of w 38-13 <|assistant|> SELECT MAX("week") FROM "schedule"...
<|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: I want to know the date with attendance of 35,763 <|assistant|> SELECT "date" FROM "schedule...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bibliography" ( "series" text, "years" text, "magazine" text, "albums" text, "editor" text ); Question: Which series with a total of 27 albums did Dargaud edit? <|assistant|> SELECT "series" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bibliography" ( "series" text, "years" text, "magazine" text, "albums" text, "editor" text ); Question: What years did the magazine Vaillant and Pif run? <|assistant|> SELECT "years" FROM "bibl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_current_republican_governors" ( "current_governor" text, "state" text, "past" text, "took_office" real, "current_term" text ); Question: What state is susana martinez from? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which away team has a Home team score of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the Home team score when away tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_career_stats" ( "season" text, "team" text, "country" text, "league" text, "level" real ); Question: What league is ordabasy-2 in? <|assistant|> SELECT "league" FROM "club_career_stats" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many people attended the game where ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the lowest amount of people that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On what date was Richmond hosted as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "religions_by_ethnic_group_uk_census_2001" ( "ethnic_group" text, "christian" text, "buddhist" text, "hindu" text, "jewish" text, "muslim" text, "sikh" text, "other" text, "no_religion" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "religions_by_ethnic_group_uk_census_2001" ( "ethnic_group" text, "christian" text, "buddhist" text, "hindu" text, "jewish" text, "muslim" text, "sikh" text, "other" text, "no_religion" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "religions_by_ethnic_group_uk_census_2001" ( "ethnic_group" text, "christian" text, "buddhist" text, "hindu" text, "jewish" text, "muslim" text, "sikh" text, "other" text, "no_religion" t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "religions_by_ethnic_group_uk_census_2001" ( "ethnic_group" text, "christian" text, "buddhist" text, "hindu" text, "jewish" text, "muslim" text, "sikh" text, "other" text, "no_religion" t...
<|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: What was the attendance of week 8? <|assistant|> SELECT "attendance" FROM "schedule" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many points did the home score at a g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "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 that had a score of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "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 of carlton at their ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "score" text, "result" text, "competition" text ); Question: Tell me the result for 3 goals <|assistant|> SELECT "result" FROM "international_go...
<|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: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "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 an away team score 22.1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In what Venue was the Away Team Score 19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "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 of the Hawth...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "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 of the Colli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What Away Team's venue is Arden Street O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Name the least Laps for accident and gird more than 13 <|assistant|> SELECT MIN("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more lap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What the score when Richmond played at h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In what venue was the away team South Me...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did the away team Carlton play? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What home team played against Richmond? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the smallest crowd size for punt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did a home team score 23.20 (158)?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which team scored 11.17 (83) while away?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "village_german" text, "village_slovenian" text, "number_of_people_1991" real, "percent_of_slovenes_1991" text, "percent_of_slovenes_1951" text ); Question: Which Number of people...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "village_german" text, "village_slovenian" text, "number_of_people_1991" real, "percent_of_slovenes_1991" text, "percent_of_slovenes_1951" text ); Question: Which Percent of Slove...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where was Collingwood's away game played...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What did the home team score in the game...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score at Wester...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did Collingwood play an away game? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many people attended the game that t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where was the game played when the home ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What team is based at junction oval? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the team set at junction oval? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "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 that scored 20.21 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How big was the crowd in a game that had ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the place that had the home team...
<|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 driver has a grid under 12 with a Time/Retired of + 3 laps? <|assistant|> SELECT "driv...
<|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 high grid for osella - alfa romeo, and a Laps larger than 61? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1985_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text ); Question: How many picks does Matt Moran have altogether after round 6? <|assistant|> SELECT COUNT("p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1985_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text ); Question: What position after round 8 has a pick less than 270? <|assistant|> SELECT "position" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1985_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text ); Question: What is the total number of rounds that UCLA has? <|assistant|> SELECT COUNT("round") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1985_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text ); Question: What is the lowest round for Georgia Tech? <|assistant|> SELECT MIN("round") FROM "1985_nfl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1985_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text ); Question: What is the average round for Georgia Tech with a pick greater than 103? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girls_basketball_players_and_coaches_of_" ( "year" text, "player" text, "school" text, "hometown" text, "college" text ); Question: Which player is featured for 2001-2002? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "girls_basketball_players_and_coaches_of_" ( "year" text, "player" text, "school" text, "hometown" text, "college" text ); Question: Which player is from Queens, NY? <|assistant|> SELECT "player...