text
stringlengths 411
1.74k
|
---|
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which home team has an Away team of essendon?". [/INST] SELECT "home_team_score" FROM "round_2" WHERE "away_team"='essendon';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "series" text, "monday" text, "tuesday" text, "thursday" text, "saturday" text );. Question: "Which Tuesday does big brother 12 air?". [/INST] SELECT "tuesday" FROM "broadcast" WHERE "series"='big brother 12';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "series" text, "monday" text, "tuesday" text, "thursday" text, "saturday" text );. Question: "Which series airs Saturday on Channel 5?". [/INST] SELECT "series" FROM "broadcast" WHERE "saturday"='channel 5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "broadcast" ( "series" text, "monday" text, "tuesday" text, "thursday" text, "saturday" text );. Question: "Which Thursday does big brother 13 air?". [/INST] SELECT "thursday" FROM "broadcast" WHERE "series"='big brother 13';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table" ( "team" text, "played" real, "drew" real, "lost" real, "against" real, "difference" real, "points" real );. Question: "What is the most lost games for the team with a difference smaller than 86 and points of 32?". [/INST] SELECT MAX("lost") FROM "table" WHERE "points"=32 AND "difference"<86;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table" ( "team" text, "played" real, "drew" real, "lost" real, "against" real, "difference" real, "points" real );. Question: "What is the average points for a team that lost 4 and played more than 28 games?". [/INST] SELECT AVG("points") FROM "table" WHERE "lost"=4 AND "played">28;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table" ( "team" text, "played" real, "drew" real, "lost" real, "against" real, "difference" real, "points" real );. Question: "What is the highest difference for the team that had less than 0 draws?". [/INST] SELECT MAX("difference") FROM "table" WHERE "drew"<0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the total number of bronze when the total is less than 1?". [/INST] SELECT SUM("bronze") FROM "medal_table" WHERE "total"<1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the full amount of Total for Austria when the number of gold is less than 0?". [/INST] SELECT SUM("total") FROM "medal_table" WHERE "nation"='austria' AND "gold"<0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_following_table_gives_the_top_10_pos" ( "rank" real, "rmax_rpeak_pflops" text, "name" text, "vendor" text, "operating_system" text );. Question: "What is the name of Rank 5?". [/INST] SELECT "name" FROM "the_following_table_gives_the_top_10_pos" WHERE "rank"=5;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_following_table_gives_the_top_10_pos" ( "rank" real, "rmax_rpeak_pflops" text, "name" text, "vendor" text, "operating_system" text );. Question: "What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133?". [/INST] SELECT AVG("rank") FROM "the_following_table_gives_the_top_10_pos" WHERE "rmax_rpeak_pflops"='17.173 20.133';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the tyre on the race where Bruce Mclaren had the fastest lap?". [/INST] SELECT "tyre" FROM "season_review" WHERE "fastest_lap"='bruce mclaren';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the constructor at the United States Grand Prix?". [/INST] SELECT "constructor" FROM "season_review" WHERE "race"='united states grand prix';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the date of the circuit of Monaco?". [/INST] SELECT "date" FROM "season_review" WHERE "circuit"='monaco';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the tyre for the circuit of Prince George, which had Jim Clark as the fastest lap?". [/INST] SELECT "tyre" FROM "season_review" WHERE "fastest_lap"='jim clark' AND "circuit"='prince george';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the date of the circuit of nürburgring, which had Graham Hill as the winning driver?". [/INST] SELECT "date" FROM "season_review" WHERE "winning_driver"='graham hill' AND "circuit"='nürburgring';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "debutantes" ( "player" text, "team" text, "date" text, "opposition" text, "game" text );. Question: "What game did Eoin Holohan play in?". [/INST] SELECT "game" FROM "debutantes" WHERE "player"='eoin holohan';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "viewers" text, "weekly_rank_for_living" text );. Question: "what is the weekly rank for living when the air date is october 6, 2008?". [/INST] SELECT "weekly_rank_for_living" FROM "weekly_ratings" WHERE "air_date"='october 6, 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "viewers" text, "weekly_rank_for_living" text );. Question: "what is the episode with the 183,000 viewers?". [/INST] SELECT "episode" FROM "weekly_ratings" WHERE "viewers"='183,000';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "weekly_ratings" ( "episode" text, "air_date" text, "timeslot" text, "viewers" text, "weekly_rank_for_living" text );. Question: "How many viewers for the episode with the weekly rank for living of 4?". [/INST] SELECT "viewers" FROM "weekly_ratings" WHERE "weekly_rank_for_living"='4';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which Away team score has a Venue of kardinia park?". [/INST] SELECT "away_team_score" FROM "round_2" WHERE "venue"='kardinia park';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which Home team score has a Home team of geelong?". [/INST] SELECT "home_team_score" FROM "round_2" WHERE "home_team"='geelong';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "Which Venue has a Home team of geelong?". [/INST] SELECT "venue" FROM "round_2" WHERE "home_team"='geelong';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );. Question: "Which school is in Raleigh, NC?". [/INST] SELECT "school" FROM "2009_boys_team" WHERE "hometown"='raleigh, nc';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );. Question: "Which college does Peyton Siva play for?". [/INST] SELECT "college" FROM "2009_boys_team" WHERE "player"='peyton siva';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );. Question: "Which height is associated with Franklin High School?". [/INST] SELECT "height" FROM "2009_boys_team" WHERE "school"='franklin high school';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );. Question: "How tall is Daniel Orton?". [/INST] SELECT "height" FROM "2009_boys_team" WHERE "player"='daniel orton';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );. Question: "Which school is in Riverside, CA?". [/INST] SELECT "school" FROM "2009_boys_team" WHERE "hometown"='riverside, ca';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_players_drafted_into_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text );. Question: "During which round was a Hawkeyes player selected for the defensive back position?". [/INST] SELECT "round" FROM "team_players_drafted_into_the_nfl" WHERE "position"='defensive back';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "team_players_drafted_into_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text );. Question: "What was the latest round that Derek Pagel was selected with a pick higher than 50?". [/INST] SELECT MAX("round") FROM "team_players_drafted_into_the_nfl" WHERE "pick">50 AND "player"='derek pagel';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_network" ( "line" text, "began_operation" real, "stations" real, "length_km" text, "terminals" text );. Question: "When is the earliest began operation with a length of sultan ismail and over 27 stations?". [/INST] SELECT MIN("began_operation") FROM "current_network" WHERE "length_km"='sultan ismail' AND "stations">27;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "current_network" ( "line" text, "began_operation" real, "stations" real, "length_km" text, "terminals" text );. Question: "What is the average operation beginning with a length of ampang and over 27 stations?". [/INST] SELECT AVG("began_operation") FROM "current_network" WHERE "length_km"='ampang' AND "stations">27;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_sunk_or_captured_by_moewe_on_her_f" ( "date" text, "ship" text, "type" text, "nationality" text, "tonnage_grt" real );. Question: "what is the nationality of the ship appam?". [/INST] SELECT "nationality" FROM "ships_sunk_or_captured_by_moewe_on_her_f" WHERE "ship"='appam';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_sunk_or_captured_by_moewe_on_her_f" ( "date" text, "ship" text, "type" text, "nationality" text, "tonnage_grt" real );. Question: "what is the tonnage grt of the ship author?". [/INST] SELECT "tonnage_grt" FROM "ships_sunk_or_captured_by_moewe_on_her_f" WHERE "ship"='author';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_sunk_or_captured_by_moewe_on_her_f" ( "date" text, "ship" text, "type" text, "nationality" text, "tonnage_grt" real );. Question: "what is the most tonnage grt of any ship sunk or captured on 16 jan 16?". [/INST] SELECT MAX("tonnage_grt") FROM "ships_sunk_or_captured_by_moewe_on_her_f" WHERE "date"='16 jan 16';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ships_sunk_or_captured_by_moewe_on_her_f" ( "date" text, "ship" text, "type" text, "nationality" text, "tonnage_grt" real );. Question: "what is the total tonnage grt of the cargo ship(s) sunk or captured on 4 feb 16?". [/INST] SELECT COUNT("tonnage_grt") FROM "ships_sunk_or_captured_by_moewe_on_her_f" WHERE "type"='cargo ship' AND "date"='4 feb 16';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What Rank has a gold smaller than 1, and a silver larger than 0?". [/INST] SELECT "rank" FROM "medal_table" WHERE "gold"<1 AND "silver">0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rail_excluding" ( "name" text, "location" text, "length_in_km_mi" text, "year_completed" text, "line" text );. Question: "What year was the Line of Gardermobanen completed?". [/INST] SELECT "year_completed" FROM "rail_excluding" WHERE "line"='gardermobanen';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rail_excluding" ( "name" text, "location" text, "length_in_km_mi" text, "year_completed" text, "line" text );. Question: "Which line is the Geumjeong tunnel?". [/INST] SELECT "line" FROM "rail_excluding" WHERE "name"='geumjeong tunnel';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Date with a Round with sf?". [/INST] SELECT "date" FROM "2001_02_middlesbrough_f_c_season" WHERE "round"='sf';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Opponent with a Round with 3, and a Venue of home?". [/INST] SELECT "opponent" FROM "2001_02_middlesbrough_f_c_season" WHERE "round"='3' AND "venue"='home';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Date with an Opponent with wimbledon, and a Result of drew 0-0?". [/INST] SELECT "date" FROM "2001_02_middlesbrough_f_c_season" WHERE "opponent"='wimbledon' AND "result"='drew 0-0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Round with a Opponent with blackburn?". [/INST] SELECT "round" FROM "2001_02_middlesbrough_f_c_season" WHERE "opponent"='blackburn';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Date with a Opponent with wimbledon, and a Result of won 2-0?". [/INST] SELECT "date" FROM "2001_02_middlesbrough_f_c_season" WHERE "opponent"='wimbledon' AND "result"='won 2-0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2001_02_middlesbrough_f_c_season" ( "round" text, "date" text, "opponent" text, "venue" text, "result" text );. Question: "What is the Venue with a Date with 14 april 2002?". [/INST] SELECT "venue" FROM "2001_02_middlesbrough_f_c_season" WHERE "date"='14 april 2002';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table_of_locomotives" ( "class" text, "gnri_no" real, "name" text, "bp_serial_no" real, "rebuilt" real, "1958" text, "withdrawn" real );. Question: "What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939?". [/INST] SELECT MIN("withdrawn") FROM "table_of_locomotives" WHERE "gnri_no">172 AND "name"='croagh patrick' AND "rebuilt"<1939;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_bowl_games_showing_bowl_played_i" ( "bowl" text, "score" text, "season" real, "opponent" text, "stadium" text, "location" text, "attendance" text, "head_coach" text );. Question: "Where was the California bowl played with 30,000 attending?". [/INST] SELECT "location" FROM "list_of_bowl_games_showing_bowl_played_i" WHERE "bowl"='california bowl' AND "attendance"='30,000';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_bowl_games_showing_bowl_played_i" ( "bowl" text, "score" text, "season" real, "opponent" text, "stadium" text, "location" text, "attendance" text, "head_coach" text );. Question: "What stadium had an opponent of Cal State Fullerton Titans?". [/INST] SELECT "stadium" FROM "list_of_bowl_games_showing_bowl_played_i" WHERE "opponent"='cal state fullerton titans';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );. Question: "What is the time/retired for thierry boutsen?". [/INST] SELECT "time_retired" FROM "classification" WHERE "driver"='thierry boutsen';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "clubs" ( "name_irish" text, "name_english" text, "sport" text, "teams" text, "location" text, "pitch" text );. Question: "What Pitch is located at Isle of Man?". [/INST] SELECT "pitch" FROM "clubs" WHERE "location"='isle of man';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "clubs" ( "name_irish" text, "name_english" text, "sport" text, "teams" text, "location" text, "pitch" text );. Question: "What is the English Name of the Location in Chester?". [/INST] SELECT "name_english" FROM "clubs" WHERE "location"='chester';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "clubs" ( "name_irish" text, "name_english" text, "sport" text, "teams" text, "location" text, "pitch" text );. Question: "What is the Location of the Old Bedians Pitch?". [/INST] SELECT "location" FROM "clubs" WHERE "pitch"='old bedians';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Name the report for v grand prix de paris". [/INST] SELECT "report" FROM "non_championship_race_results" WHERE "race_name"='v grand prix de paris';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Name the report on 20 may". [/INST] SELECT "report" FROM "non_championship_race_results" WHERE "date"='20 may';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Name the report for philip fotheringham-parker". [/INST] SELECT "report" FROM "non_championship_race_results" WHERE "winning_driver"='philip fotheringham-parker';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Name the date for pescara". [/INST] SELECT "date" FROM "non_championship_race_results" WHERE "circuit"='pescara';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "What is the catalogue on october 15, 2004?". [/INST] SELECT "catalogue" FROM "release_history" WHERE "date"='october 15, 2004';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Name the label for january 24, 2005". [/INST] SELECT "label" FROM "release_history" WHERE "date"='january 24, 2005';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Name the october 15, 2004 catalogue". [/INST] SELECT "catalogue" FROM "release_history" WHERE "date"='october 15, 2004';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Name the date that is a cd". [/INST] SELECT "date" FROM "release_history" WHERE "format"='cd';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Name the region for december 7, 2004". [/INST] SELECT "region" FROM "release_history" WHERE "date"='december 7, 2004';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Name the catalogue for australia". [/INST] SELECT "catalogue" FROM "release_history" WHERE "region"='australia';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_player" ( "rank" real, "player" text, "club" text, "country" text, "titles" real, "seasons" text );. Question: "What player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85?". [/INST] SELECT "player" FROM "by_player" WHERE "rank"=2 AND "seasons"='1982–83, 1983–84, 1984–85';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_player" ( "rank" real, "player" text, "club" text, "country" text, "titles" real, "seasons" text );. Question: "How many rankings are associated with giuseppe meazza holding over 3 titles?". [/INST] SELECT COUNT("rank") FROM "by_player" WHERE "player"='giuseppe meazza' AND "titles">3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What home team has had a crowd bigger than 20,000?". [/INST] SELECT "home_team" FROM "round_17" WHERE "crowd">'20,000';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "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 size of the crowd when the away team scored 12.10 (82)?". [/INST] SELECT SUM("crowd") FROM "round_17" WHERE "away_team_score"='12.10 (82)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What venue had footscray play at it?". [/INST] SELECT "venue" FROM "round_17" WHERE "away_team"='footscray';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "How much did the away team score at victoria park?". [/INST] SELECT "away_team_score" FROM "round_17" WHERE "venue"='victoria park';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real );. Question: "What municipality has 719 people and is larger than 108.46 km2?". [/INST] SELECT "regional_county_municipality" FROM "list_of_municipalities_in_quebec" WHERE "area_km_2">108.46 AND "population"=719;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real );. Question: "What was the region for Malartic with 159.31 km2?". [/INST] SELECT COUNT("region") FROM "list_of_municipalities_in_quebec" WHERE "name"='malartic' AND "area_km_2"<159.31;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real );. Question: "What is Dupuy lowest area in km2?". [/INST] SELECT MIN("area_km_2") FROM "list_of_municipalities_in_quebec" WHERE "name"='dupuy';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real );. Question: "What is the km2 area for the population of 311?". [/INST] SELECT AVG("area_km_2") FROM "list_of_municipalities_in_quebec" WHERE "population"=311;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_municipalities_in_quebec" ( "code" real, "type" text, "name" text, "area_km_2" real, "population" real, "regional_county_municipality" text, "region" real );. Question: "What type has a population of 370?". [/INST] SELECT "type" FROM "list_of_municipalities_in_quebec" WHERE "population"=370;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "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 size that watch a game where the home team scored 12.6 (78)?". [/INST] SELECT MAX("crowd") FROM "round_7" WHERE "home_team_score"='12.6 (78)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the score of the away team that played home team Geelong?". [/INST] SELECT "away_team_score" FROM "round_7" WHERE "home_team"='geelong';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );. Question: "What is the average crowd size of the away team who scored 9.6 (60)?". [/INST] SELECT AVG("crowd") FROM "round_7" WHERE "away_team_score"='9.6 (60)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What source has a Knight of 2%?". [/INST] SELECT "source" FROM "polling" WHERE "knight"='2%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What Lanier has a Cardwell of 20%?". [/INST] SELECT "lanier" FROM "polling" WHERE "cardwell"='20%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What martin is on july 8–9, 2008?". [/INST] SELECT "martin" FROM "polling" WHERE "date"='july 8–9, 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What source has a cardwell of 20%?". [/INST] SELECT "source" FROM "polling" WHERE "cardwell"='20%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What martin has a lanier of 6%?". [/INST] SELECT "martin" FROM "polling" WHERE "lanier"='6%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "source" text, "date" text, "cardwell" text, "jones" text, "knight" text, "lanier" text, "martin" text );. Question: "What cardwell has an insider advantage and a knight of 1%". [/INST] SELECT "cardwell" FROM "polling" WHERE "source"='insider advantage' AND "knight"='1%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "How much did the girl, nicknamed Chidi, weigh at birth?". [/INST] SELECT "weight_at_birth" FROM "family_history" WHERE "gender"='girl' AND "nickname"='chidi';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "What nickname has the meaning of God knows my journey?". [/INST] SELECT "nickname" FROM "family_history" WHERE "meaning"='god knows my journey';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "What is the nickname of the boy who weighed 810g (26.0 oz.) at birth?". [/INST] SELECT "nickname" FROM "family_history" WHERE "gender"='boy' AND "weight_at_birth"='810g (26.0 oz.)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "How much did the baby who name means God knows my journey weigh at birth?". [/INST] SELECT "weight_at_birth" FROM "family_history" WHERE "meaning"='god knows my journey';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "Chukwubuikem Maduabuchi is what gender?". [/INST] SELECT "gender" FROM "family_history" WHERE "full_name"='chukwubuikem maduabuchi';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "family_history" ( "full_name" text, "nickname" text, "gender" text, "weight_at_birth" text, "meaning" text );. Question: "What is the nickname of the baby with the birth weight of 730g (23.5 oz.)?". [/INST] SELECT "nickname" FROM "family_history" WHERE "weight_at_birth"='730g (23.5 oz.)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pool_e" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text, "report" text );. Question: "For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3?". [/INST] SELECT "set_3" FROM "pool_e" WHERE "date"='29 sep' AND "time"='16:40';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pool_e" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text, "report" text );. Question: "What Score has a time of 14:10?". [/INST] SELECT "score" FROM "pool_e" WHERE "time"='14:10';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wide_receivers" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );. Question: "How many TDs are there were the long is smaller than 23?". [/INST] SELECT MIN("td_s") FROM "wide_receivers" WHERE "long"<23;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );. Question: "who is the winner when the trofeo fast team is carrera jeans-vagabond in stage 5?". [/INST] SELECT "winner" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='carrera jeans-vagabond' AND "stage"='5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );. Question: "who was the trofeo fast team in stage 10?". [/INST] SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "stage"='10';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );. Question: "who is the trofeo fast team in stage 10?". [/INST] SELECT "trofeo_fast_team" FROM "classification_leadership_by_stage" WHERE "stage"='10';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );. Question: "who is the points classification in stage 1?". [/INST] SELECT "points_classification" FROM "classification_leadership_by_stage" WHERE "stage"='1';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );. Question: "what is the stage when the winner is charly mottet?". [/INST] SELECT "stage" FROM "classification_leadership_by_stage" WHERE "winner"='charly mottet';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 score of 14.21 (105)?". [/INST] SELECT "away_team" FROM "round_4" WHERE "home_team_score"='14.21 (105)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 home team has a score of 11.12 (78)?". [/INST] SELECT "home_team" FROM "round_4" WHERE "home_team_score"='11.12 (78)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "How many spectators were at the game when the away team scored 15.8 (98)?". [/INST] SELECT "crowd" FROM "round_4" WHERE "away_team_score"='15.8 (98)';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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 played the home team when they scored 14.21 (105)?". [/INST] SELECT "away_team" FROM "round_4" WHERE "home_team_score"='14.21 (105)';</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.