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 "list_of_fatal_accidents_involving_compet" ( "rider" text, "date" text, "place" text, "race" text, "event" text, "machine" text );. Question: "What machine did Keith T. Gawler ride?". [/INST] SELECT "machine" FROM "list_of_fatal_accidents_involving_compet" WHERE "rider"='keith t. gawler';</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_fatal_accidents_involving_compet" ( "rider" text, "date" text, "place" text, "race" text, "event" text, "machine" text );. Question: "Where was the 249cc Yamaha?". [/INST] SELECT "place" FROM "list_of_fatal_accidents_involving_compet" WHERE "machine"='249cc yamaha';</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_fatal_accidents_involving_compet" ( "rider" text, "date" text, "place" text, "race" text, "event" text, "machine" text );. Question: "What machine did Kenneth E. Herbert ride?". [/INST] SELECT "machine" FROM "list_of_fatal_accidents_involving_compet" WHERE "rider"='kenneth e. herbert';</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_fatal_accidents_involving_compet" ( "rider" text, "date" text, "place" text, "race" text, "event" text, "machine" text );. Question: "What event was Rob Vine riding?". [/INST] SELECT "event" FROM "list_of_fatal_accidents_involving_compet" WHERE "rider"='rob vine';</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 "track_listing" ( "title" text, "producer_s" text, "artist_s" text, "time" text, "team_s" text );. Question: "How long is the XXX track used by the Minnesota Vikings?". [/INST] SELECT "time" FROM "track_listing" WHERE "team_s"='minnesota vikings' AND "artist_s"='xxx';</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 "track_listing" ( "title" text, "producer_s" text, "artist_s" text, "time" text, "team_s" text );. Question: "What teams used a track 3:29 long?". [/INST] SELECT "team_s" FROM "track_listing" WHERE "time"='3:29';</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 "track_listing" ( "title" text, "producer_s" text, "artist_s" text, "time" text, "team_s" text );. Question: "Who is the artist of the New York Giants track "No Doubt"?". [/INST] SELECT "artist_s" FROM "track_listing" WHERE "team_s"='new york giants' AND "title"='\"no doubt\"';</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 "track_listing" ( "title" text, "producer_s" text, "artist_s" text, "time" text, "team_s" text );. Question: "Who is the artist of the Seattle Seahawks track?". [/INST] SELECT "artist_s" FROM "track_listing" WHERE "team_s"='seattle seahawks';</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 "track_listing" ( "title" text, "producer_s" text, "artist_s" text, "time" text, "team_s" text );. Question: "Who produced "Fast Life"?". [/INST] SELECT "producer_s" FROM "track_listing" WHERE "title"='\"fast life\"';</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 "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );. Question: "Location of ebbets field, and a Time of 2:56, and a Game larger than 6 has what sum of attendance?". [/INST] SELECT SUM("attendance") FROM "summary" WHERE "location"='ebbets field' AND "time"='2:56' AND "game">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 "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );. Question: "The game of 6 has what lowest attendance?". [/INST] SELECT MIN("attendance") FROM "summary" WHERE "game"=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 "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );. Question: "Date of October 1 has what average game?". [/INST] SELECT AVG("game") FROM "summary" WHERE "date"='october 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 "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );. Question: "yankee stadium (i), and a Time of 3:00 has what attendance for this location?". [/INST] SELECT "attendance" FROM "summary" WHERE "location"='yankee stadium (i)' AND "time"='3:00';</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 "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "College of lsu has how many rounds?". [/INST] SELECT COUNT("round") FROM "indianapolis_colts_draft_history" WHERE "college"='lsu';</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 "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "Pick # of 25, and an Overall of 207 has what name?". [/INST] SELECT "name" FROM "indianapolis_colts_draft_history" WHERE "pick_num"=25 AND "overall"=207;</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 "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "Round smaller than 7, and an Overall of 129 is what college?". [/INST] SELECT "college" FROM "indianapolis_colts_draft_history" WHERE "round"<7 AND "overall"=129;</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 "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );. Question: "Round larger than 6, and a Pick # smaller than 25, and a College of southern Illinois has what position?". [/INST] SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "round">6 AND "pick_num"<25 AND "college"='southern illinois';</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 "overview" ( "title" text, "pages" text, "chapters" text, "audio" text, "us_release" text );. Question: "Which US release has 704 pages?". [/INST] SELECT "us_release" FROM "overview" WHERE "pages"='704';</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 "overview" ( "title" text, "pages" text, "chapters" text, "audio" text, "us_release" text );. Question: "Which audio has a Title of a storm of swords?". [/INST] SELECT "audio" FROM "overview" WHERE "title"='a storm of swords';</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 "overview" ( "title" text, "pages" text, "chapters" text, "audio" text, "us_release" text );. Question: "Which title has a US release of august 1996?". [/INST] SELECT "title" FROM "overview" WHERE "us_release"='august 1996';</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 "overview" ( "title" text, "pages" text, "chapters" text, "audio" text, "us_release" text );. Question: "How many pages does a dream of spring have?". [/INST] SELECT "pages" FROM "overview" WHERE "title"='a dream of spring';</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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );. Question: "Name the result for kingdome game site and opponent of denver broncos". [/INST] SELECT "result" FROM "schedule" WHERE "game_site"='kingdome' AND "opponent"='denver broncos';</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_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Which College/junior/club team has a Pick # of 1?". [/INST] SELECT "college_junior_club_team" FROM "round_one" WHERE "pick_num"='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 "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Which Pick # has an NHL team of detroit red wings?". [/INST] SELECT "pick_num" FROM "round_one" WHERE "nhl_team"='detroit red wings';</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_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Which player has a Position of defence, and a Pick # of 6?". [/INST] SELECT "player" FROM "round_one" WHERE "position"='defence' AND "pick_num"='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 "round_one" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );. Question: "Which NHL team has a Player of steve durbano?". [/INST] SELECT "nhl_team" FROM "round_one" WHERE "player"='steve durbano';</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 "final_round_monday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the largest money for a t4 place, for Tiger Woods?". [/INST] SELECT MAX("money") FROM "final_round_monday" WHERE "place"='t4' AND "player"='tiger woods';</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 "regular_season" ( "season" text, "games" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text );. Question: "How many goals against have 58 points?". [/INST] SELECT "goals_against" FROM "regular_season" WHERE "points"=58;</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 "summary" ( "tournament" text, "wins" real, "top_10" real, "events" real, "cuts_made" real );. Question: "For majors with 8 events played and more than 1 made cut, what is the most top-10s recorded?". [/INST] SELECT MAX("top_10") FROM "summary" WHERE "cuts_made">1 AND "events"=8;</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 "summary" ( "tournament" text, "wins" real, "top_10" real, "events" real, "cuts_made" real );. Question: "For more than 3 events in the PGA Championship, what is the fewest number of wins?". [/INST] SELECT MIN("wins") FROM "summary" WHERE "tournament"='pga championship' AND "events">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 "summary" ( "tournament" text, "wins" real, "top_10" real, "events" real, "cuts_made" real );. Question: "For events with under 3 times played and fewer than 1 cut made, what is the total number of top-10 finishes?". [/INST] SELECT COUNT("top_10") FROM "summary" WHERE "events"<3 AND "cuts_made"<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 "summary" ( "tournament" text, "wins" real, "top_10" real, "events" real, "cuts_made" real );. Question: "For events with values of exactly 1, and 0 cuts made, what is the fewest number of top-10s?". [/INST] SELECT MIN("top_10") FROM "summary" WHERE "events"=1 AND "cuts_made">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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What is the tyres with a year earlier than 1961 for a climax l4 engine?". [/INST] SELECT "tyres" FROM "complete_formula_one_world_championship_" WHERE "year"<1961 AND "engine"='climax l4';</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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What company built the chassis for a year later than 1959 and a climax l4 engine?". [/INST] SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year">1959 AND "engine"='climax l4';</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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What engine was in the year of 1961?". [/INST] SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"=1961;</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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What engine was for the vehicle with a cooper t43 chassis?". [/INST] SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "chassis"='cooper t43';</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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What is the engine for a vehicle in 1960?". [/INST] SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "year"=1960;</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 "complete_formula_one_world_championship_" ( "year" real, "chassis" text, "engine" text, "tyres" text, "points" text );. Question: "What is the tyres for the JBW type 2 chassis?". [/INST] SELECT "tyres" FROM "complete_formula_one_world_championship_" WHERE "chassis"='jbw type 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 "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );. Question: "What is the location of the game that has a number smaller than 2?". [/INST] SELECT "location" FROM "summary" WHERE "game"<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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What film did ian mackinnon direct that was in the short film 2007 prix uip category?". [/INST] SELECT "film" FROM "2007" WHERE "category"='short film 2007 prix uip' AND "director_s"='ian mackinnon';</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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What film was filmed in Spain?". [/INST] SELECT "film" FROM "2007" WHERE "country"='spain';</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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What Country has a Director of 2007?". [/INST] SELECT "country" FROM "2007" WHERE "director_s"='2007';</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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What film did abdelatif hwidar direct that was in the short film 2007 prix uip category?". [/INST] SELECT "film" FROM "2007" WHERE "category"='short film 2007 prix uip' AND "director_s"='abdelatif hwidar';</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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What Nominating festival was party of the adjustment film?". [/INST] SELECT "nominating_festival" FROM "2007" WHERE "film"='adjustment';</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 "2007" ( "category" text, "film" text, "director_s" text, "country" text, "nominating_festival" text );. Question: "What country was the prix uip ghent nominating festival?". [/INST] SELECT "country" FROM "2007" WHERE "nominating_festival"='prix uip ghent';</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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the record of the game that had a loss of Stottlemyre (10-12)?". [/INST] SELECT "record" FROM "game_log" WHERE "loss"='stottlemyre (10-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the Attendance high on August 28?". [/INST] SELECT MAX("attendance") FROM "game_log" WHERE "date"='august 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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "Who was the opponent at the game when the record was 22-13?". [/INST] SELECT "opponent" FROM "game_log" WHERE "record"='22-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the loss of the game when the record was 21-13?". [/INST] SELECT "loss" FROM "game_log" WHERE "record"='21-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was date of the game when the record was 31-15?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='31-15';</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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the record at the game against the Indians with a loss of Camacho (1-4)?". [/INST] SELECT "record" FROM "game_log" WHERE "opponent"='indians' AND "loss"='camacho (1-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 "flat_rides" ( "ride_name" text, "type" text, "opened_in" real, "themed_land" text, "manufacturer" text );. Question: "What type ride is Wild Asia that opened in 2000?". [/INST] SELECT "type" FROM "flat_rides" WHERE "themed_land"='wild asia' AND "opened_in"=2000;</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 "flat_rides" ( "ride_name" text, "type" text, "opened_in" real, "themed_land" text, "manufacturer" text );. Question: "What type of ride is Rameses Revenge?". [/INST] SELECT "type" FROM "flat_rides" WHERE "ride_name"='rameses revenge';</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 "flat_rides" ( "ride_name" text, "type" text, "opened_in" real, "themed_land" text, "manufacturer" text );. Question: "Which ride opened after the 2000 Peeking Heights?". [/INST] SELECT "type" FROM "flat_rides" WHERE "opened_in">2000 AND "ride_name"='peeking heights';</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 "flat_rides" ( "ride_name" text, "type" text, "opened_in" real, "themed_land" text, "manufacturer" text );. Question: "What ride was manufactured by Zierer?". [/INST] SELECT "ride_name" FROM "flat_rides" WHERE "manufacturer"='zierer';</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 "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" text );. Question: "What year engine does a ferrari v6 have?". [/INST] SELECT "year" FROM "complete_formula_one_world_championship_" WHERE "engine"='ferrari v6';</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 "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" text );. Question: "What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957?". [/INST] SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "points"='6' AND "year"<1957;</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 "beginning_of_the_next_congress" ( "d_41" text, "d_42" text, "d_43" text, "d_44_o" text, "d_45_o" text, "d_46_o" text, "d_47_o" text, "d_48_o" text );. Question: "Name the D 45 O with D 44 O majority →". [/INST] SELECT "d_45_o" FROM "beginning_of_the_next_congress" WHERE "d_44_o"='majority →';</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 "beginning_of_the_next_congress" ( "d_41" text, "d_42" text, "d_43" text, "d_44_o" text, "d_45_o" text, "d_46_o" text, "d_47_o" text, "d_48_o" text );. Question: "Name the D 45 O with D 46 O of r 31 √". [/INST] SELECT "d_45_o" FROM "beginning_of_the_next_congress" WHERE "d_46_o"='r 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 "beginning_of_the_next_congress" ( "d_41" text, "d_42" text, "d_43" text, "d_44_o" text, "d_45_o" text, "d_46_o" text, "d_47_o" text, "d_48_o" text );. Question: "Name the D 41 √ with D 44 O of r 13". [/INST] SELECT "d_41" FROM "beginning_of_the_next_congress" WHERE "d_44_o"='r 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 "beginning_of_the_next_congress" ( "d_41" text, "d_42" text, "d_43" text, "d_44_o" text, "d_45_o" text, "d_46_o" text, "d_47_o" text, "d_48_o" text );. Question: "Name the D 48 O with D 41 √ of d 41 √". [/INST] SELECT "d_48_o" FROM "beginning_of_the_next_congress" WHERE "d_41"='d 41 √';</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 "beginning_of_the_next_congress" ( "d_41" text, "d_42" text, "d_43" text, "d_44_o" text, "d_45_o" text, "d_46_o" text, "d_47_o" text, "d_48_o" text );. Question: "Name the D 47 O with D 48 O of r 9". [/INST] SELECT "d_47_o" FROM "beginning_of_the_next_congress" WHERE "d_48_o"='r 9';</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 "most_appearances" ( "name" text, "period" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );. Question: "What is the lowest number of League Cups a player with a 434 league has?". [/INST] SELECT MIN("league_cup") FROM "most_appearances" WHERE "league"=434;</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 "most_appearances" ( "name" text, "period" text, "league" real, "fa_cup" real, "league_cup" real, "other" real, "total" real );. Question: "What is the average number of FA cups Steve Whitworth, who has less than 400 total, has?". [/INST] SELECT AVG("fa_cup") FROM "most_appearances" WHERE "name"='steve whitworth' AND "total"<400;</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 "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );. Question: "What is the height of the Tides with less than 34 floors?". [/INST] SELECT "height_feet_m" FROM "timeline_of_tallest_buildings" WHERE "floors"<34 AND "name"='the tides';</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 "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );. Question: "How many years was the building with 24 floors the tallest?". [/INST] SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "floors"=24;</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 "timeline_of_tallest_buildings" ( "name" text, "street_address" text, "years_as_tallest" text, "height_feet_m" text, "floors" real );. Question: "How many floors does the Blue Diamond have?". [/INST] SELECT SUM("floors") FROM "timeline_of_tallest_buildings" WHERE "name"='blue diamond';</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 "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "In which women's doubles did Wang Junjie play men's singles?". [/INST] SELECT "women_s_doubles" FROM "previous_winners" WHERE "men_s_singles"='wang junjie';</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 "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "In what mixed doubles did Niels Christian Kaldau play in men's singles?". [/INST] SELECT "mixed_doubles" FROM "previous_winners" WHERE "men_s_singles"='niels christian kaldau';</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 "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "Which mixed doubles happened later than 2011?". [/INST] SELECT "mixed_doubles" FROM "previous_winners" WHERE "year">2011;</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 "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text, "source" text );. Question: "What is the person's name that is from the country of SCO?". [/INST] SELECT "name" FROM "out" WHERE "country"='sco';</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 "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text, "source" text );. Question: "What was the source for the person named Cresswell?". [/INST] SELECT "source" FROM "out" WHERE "name"='cresswell';</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 "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text, "source" text );. Question: "What is the current status of the person named Nicholls?". [/INST] SELECT "status" FROM "out" WHERE "name"='nicholls';</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 "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text, "source" text );. Question: "What was the transfer fee for the summer transfer involving the SCO named Crainey?". [/INST] SELECT "transfer_fee" FROM "out" WHERE "transfer_window"='summer' AND "country"='sco' AND "name"='crainey';</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 "out" ( "name" text, "country" text, "status" text, "transfer_window" text, "transfer_fee" text, "source" text );. Question: "What was the source of an ENG transfer that paid a £1.5m transfer fee?". [/INST] SELECT "source" FROM "out" WHERE "country"='eng' AND "transfer_fee"='£1.5m';</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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?". [/INST] SELECT "record" FROM "game_log" WHERE "opponent"='@ orioles' AND "loss"='leal (5-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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the record for the date of June 14?". [/INST] SELECT "record" FROM "game_log" WHERE "date"='june 14';</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 "election_results" ( "election" text, "votes" real, "vote_pct" real, "seats" real, "place" text );. Question: "Name the total number of seats for votes % more than 19.5". [/INST] SELECT COUNT("seats") FROM "election_results" WHERE "vote_pct">19.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 "election_results" ( "election" text, "votes" real, "vote_pct" real, "seats" real, "place" text );. Question: "Name the most vote % with election of 1946". [/INST] SELECT MAX("vote_pct") FROM "election_results" WHERE "election"='1946';</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 "election_results" ( "election" text, "votes" real, "vote_pct" real, "seats" real, "place" text );. Question: "Name the vote % for seats of 9". [/INST] SELECT "vote_pct" FROM "election_results" WHERE "seats"=9;</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 "election_results" ( "election" text, "votes" real, "vote_pct" real, "seats" real, "place" text );. Question: "Name the sum of votes % more than 19.5". [/INST] SELECT SUM("votes") FROM "election_results" WHERE "vote_pct">19.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 "2003" ( "film" text, "director_s" text, "recipient" text, "date" text, "award" text );. Question: "Who directed a film for Cracking Film Productions?". [/INST] SELECT "director_s" FROM "2003" WHERE "recipient"='cracking film productions';</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 "2003" ( "film" text, "director_s" text, "recipient" text, "date" text, "award" text );. Question: "What award did the film Ozone win?". [/INST] SELECT "award" FROM "2003" WHERE "film"='ozone';</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 "2003" ( "film" text, "director_s" text, "recipient" text, "date" text, "award" text );. Question: "Who won an award of £3,000 on 4/9/02?". [/INST] SELECT "recipient" FROM "2003" WHERE "date"='4/9/02' AND "award"='£3,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 "awards" ( "year" real, "awards" text, "categorie" text, "movie" text, "result" text );. Question: "What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in?". [/INST] SELECT "categorie" FROM "awards" WHERE "year"=2002 AND "awards"='berlin international film festival';</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 "awards" ( "year" real, "awards" text, "categorie" text, "movie" text, "result" text );. Question: "What was the result at the Berlin International Film Festival in a year greater than 1987?". [/INST] SELECT "result" FROM "awards" WHERE "year">1987 AND "awards"='berlin international film festival';</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 "awards" ( "year" real, "awards" text, "categorie" text, "movie" text, "result" text );. Question: "In what year was the movie 8 women up for a César Award?". [/INST] SELECT MIN("year") FROM "awards" WHERE "movie"='8 women' AND "awards"='césar award';</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 "men" ( "season" text, "player" text, "school" text, "position" text, "class" text );. Question: "Name the position for indiana state". [/INST] SELECT "position" FROM "men" WHERE "school"='indiana state';</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, "catalog" text );. Question: "What is the format of the date February 14, 2002?". [/INST] SELECT "format" FROM "release_history" WHERE "date"='february 14, 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 "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "Which region is identified as 38xa-3 in the catalog?". [/INST] SELECT "region" FROM "release_history" WHERE "catalog"='38xa-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 "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "Which date is in CD format?". [/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, "catalog" text );. Question: "Which date is in stereo lp format?". [/INST] SELECT "date" FROM "release_history" WHERE "format"='stereo lp';</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, "catalog" text );. Question: "Which label is dated February 14, 2002?". [/INST] SELECT "label" FROM "release_history" WHERE "date"='february 14, 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 "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "Which catalog is in cd format?". [/INST] SELECT "catalog" 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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What event did Mark Teltscher win?". [/INST] SELECT "event" FROM "european_poker_tour" WHERE "winner"='mark teltscher';</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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "When was the event in the City of Baden?". [/INST] SELECT "date" FROM "european_poker_tour" WHERE "city"='baden';</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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What event had a prize of €900,000?". [/INST] SELECT "event" FROM "european_poker_tour" WHERE "prize"='€900,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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "When was the event in Dublin?". [/INST] SELECT "date" FROM "european_poker_tour" WHERE "city"='dublin';</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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What city did an event have a prize of €288,180?". [/INST] SELECT "city" FROM "european_poker_tour" WHERE "prize"='€288,180';</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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What city was the event in when Patrik Antonius won?". [/INST] SELECT "city" FROM "european_poker_tour" WHERE "winner"='patrik antonius';</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.