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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "On what date was the Loss by Flanagan (6-7)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='flanagan (6-7)';</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: "During which loss was the record 48-50?". [/INST] SELECT "loss" FROM "game_log" WHERE "record"='48-50';</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 score that made the record 47-49?". [/INST] SELECT "score" FROM "game_log" WHERE "record"='47-49';</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 on July 29?". [/INST] SELECT "opponent" FROM "game_log" WHERE "date"='july 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 "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );. Question: "What was the record during the loss by key (7-11)?". [/INST] SELECT "record" FROM "game_log" WHERE "loss"='key (7-11)';</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_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text );. Question: "What is the total diagram for builder york?". [/INST] SELECT SUM("diagram") FROM "list_of_preserved_rm_bs" WHERE "builder"='york';</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_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text );. Question: "What fleet numbers have a diagram less than 99 and built in 1960?". [/INST] SELECT "fleet_numbers" FROM "list_of_preserved_rm_bs" WHERE "diagram"<99 AND "built"='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 "list_of_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text );. Question: "What diagram built in 1962 has a lot number smaller than 30702?". [/INST] SELECT MIN("diagram") FROM "list_of_preserved_rm_bs" WHERE "built"='1962' AND "lot_no"<30702;</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_preserved_rm_bs" ( "lot_no" real, "diagram" real, "built" text, "builder" text, "fleet_numbers" text );. Question: "What builder has lot number 30702?". [/INST] SELECT "builder" FROM "list_of_preserved_rm_bs" WHERE "lot_no"=30702;</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 "works" ( "year" real, "name" text, "genre" text, "status" text, "post" text );. Question: "Which Genre has a Year before 2013, and a Name of kikumana?". [/INST] SELECT "genre" FROM "works" WHERE "year"<2013 AND "name"='kikumana';</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 "works" ( "year" real, "name" text, "genre" text, "status" text, "post" text );. Question: "In what year has a Post of designer?". [/INST] SELECT SUM("year") FROM "works" WHERE "post"='designer';</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, "visitor" text, "score" text, "home" text, "record" text );. Question: "Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?". [/INST] SELECT "visitor" FROM "game_log" WHERE "home"='boston bruins' AND "date"='november 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, "visitor" text, "score" text, "home" text, "record" text );. Question: "Which Visitor is listed as having a Date of December 17?". [/INST] SELECT "visitor" FROM "game_log" WHERE "date"='december 17';</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, "visitor" text, "score" text, "home" text, "record" text );. Question: "What's the Score with the Visitor of Montreal Maroons and has a Date of December 28?". [/INST] SELECT "score" FROM "game_log" WHERE "visitor"='montreal maroons' AND "date"='december 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 "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What's the attendance of the san diego chargers game before week 6?". [/INST] SELECT COUNT("attendance") FROM "season_schedule" WHERE "week"<6 AND "opponent"='san diego chargers';</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_25" real, "events" real, "cuts_made" real );. Question: "How many wins have a Top-25 of 1, Less than 2 cuts, and fewer than 5 events?". [/INST] SELECT COUNT("wins") FROM "summary" WHERE "top_25"=1 AND "cuts_made"<2 AND "events"<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 "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real );. Question: "How many events have a Top-25 of 1 and made less than 1 cut?". [/INST] SELECT MAX("events") FROM "summary" WHERE "top_25"=1 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_25" real, "events" real, "cuts_made" real );. Question: "During the PGA Championship, what's the lowest amount of events with wins greater than 0?". [/INST] SELECT MIN("events") FROM "summary" WHERE "tournament"='pga championship' AND "wins">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 "summary" ( "tournament" text, "wins" real, "top_25" real, "events" real, "cuts_made" real );. Question: "What's the lowest number of cuts made while the win was less than 0?". [/INST] SELECT MIN("cuts_made") FROM "summary" WHERE "wins"<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 "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" text );. Question: "Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971?". [/INST] SELECT "reactortype" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';</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 "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" text );. Question: "Which Unit's Construction started on 01.07.1967?". [/INST] SELECT "unit" FROM "reactor_data" WHERE "construction_started"='01.07.1967';</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 "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" text );. Question: "Which Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?". [/INST] SELECT "commercial_operation" FROM "reactor_data" WHERE "gross_capacity"='417 mw' AND "electricity_grid"='27.12.1971';</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 "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" text );. Question: "When did the Electricity Grid 28.12.1972 officially shutdown?". [/INST] SELECT "shutdown" FROM "reactor_data" WHERE "electricity_grid"='28.12.1972';</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 "reactor_data" ( "unit" text, "reactortype" text, "net_capacity" text, "gross_capacity" text, "construction_started" text, "electricity_grid" text, "commercial_operation" text, "shutdown" text );. Question: "Which Electricity Grid started its Commercial Operation of 24.03.1973?". [/INST] SELECT "electricity_grid" FROM "reactor_data" WHERE "commercial_operation"='24.03.1973';</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 "squad_information" ( "nat" text, "name" text, "since" real, "app_gs_sub" text, "goals" real, "transfer_fee" text );. Question: "Tell what has the App(GS/Sub) of 14 (8/6)". [/INST] SELECT "name" FROM "squad_information" WHERE "app_gs_sub"='14 (8/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 "squad_information" ( "nat" text, "name" text, "since" real, "app_gs_sub" text, "goals" real, "transfer_fee" text );. Question: "Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)". [/INST] SELECT "goals" FROM "squad_information" WHERE "since"<2007 AND "app_gs_sub"='97 (69/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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "When is Cadott Rock Fest taken place?". [/INST] SELECT "date" FROM "hit_n_run_shows" WHERE "venue"='cadott rock fest';</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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "Which City has mandalay bay resort". [/INST] SELECT "city" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';</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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "Which City has a Date on october 26, 2007". [/INST] SELECT "city" FROM "hit_n_run_shows" WHERE "date"='october 26, 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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "Which Attendance has Mandalay Bay Resort". [/INST] SELECT "attendance" FROM "hit_n_run_shows" WHERE "venue"='mandalay bay resort';</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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "When is Country of united states, and a Venue of mandalay bay resort in?". [/INST] SELECT "date" FROM "hit_n_run_shows" WHERE "country"='united states' AND "venue"='mandalay bay resort';</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 "hit_n_run_shows" ( "date" text, "city" text, "country" text, "venue" text, "attendance" text );. Question: "When has a City of san jacinto, california?". [/INST] SELECT "date" FROM "hit_n_run_shows" WHERE "city"='san jacinto, california';</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_world_championship_grand_prix_r" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952?". [/INST] SELECT "chassis" FROM "complete_world_championship_grand_prix_r" WHERE "points">0 AND "entrant"='scuderia ferrari' AND "year">1952;</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_world_championship_grand_prix_r" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "Which Entrant has a vanwall straight-4 engine?". [/INST] SELECT "entrant" FROM "complete_world_championship_grand_prix_r" WHERE "engine"='vanwall straight-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 "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalogue" text );. Question: "Which region has a date of 1970?". [/INST] SELECT "region" FROM "release_history" WHERE "date"='1970';</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: "Which label has a date of 1987?". [/INST] SELECT "label" FROM "release_history" WHERE "date"='1987';</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: "Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?". [/INST] SELECT "catalogue" FROM "release_history" WHERE "format"='cd remastered with 3 bonus tracks';</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: "Which catalogue has a date of 1987?". [/INST] SELECT "catalogue" FROM "release_history" WHERE "date"='1987';</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 "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text );. Question: "What is the latest season where Al Ahly is the runners-up?". [/INST] SELECT MAX("season") FROM "performances" WHERE "runners_up"='al ahly';</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 "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text );. Question: "What is the season where Vasco da gama is the score?". [/INST] SELECT "season" FROM "performances" WHERE "score"='vasco da gama';</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 "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text );. Question: "Who is the winner in 2010?". [/INST] SELECT "winners" FROM "performances" WHERE "season"=2010;</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 "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text );. Question: "Who is the winner in 2011?". [/INST] SELECT "winners" FROM "performances" WHERE "season"=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 "performances" ( "season" real, "host" text, "winners" text, "score" text, "runners_up" text, "third_place" text );. Question: "What was the third place of the performance in 2006 with the host Japan?". [/INST] SELECT "third_place" FROM "performances" WHERE "host"='japan' AND "season"<2006;</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 "uefa_cup_winners_cup" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text );. Question: "Which round did Dundee United end in?". [/INST] SELECT "round" FROM "uefa_cup_winners_cup" WHERE "club"='dundee united';</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 "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text );. Question: "Name the event with pursuit of 18th and sprint of 20th". [/INST] SELECT "event" FROM "olympic_games" WHERE "pursuit"='18th' AND "sprint"='20th';</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 "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text );. Question: "Name the pursuit for 1994 lillehammer". [/INST] SELECT "pursuit" FROM "olympic_games" WHERE "event"='1994 lillehammer';</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 "olympic_games" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text );. Question: "Name the sprint with mass start of 2nd". [/INST] SELECT "sprint" FROM "olympic_games" WHERE "mass_start"='2nd';</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 "1990s" ( "year" real, "english_title" text, "original_title" text, "country" text, "director_s" text );. Question: "What country had a film in 1993?". [/INST] SELECT "country" FROM "1990s" WHERE "year"=1993;</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 "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "Where was Extreme Challenge 63 with a time of 2:00 held?". [/INST] SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='extreme challenge 63' AND "time"='2: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 "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "How many total rounds were there at UFC 114?". [/INST] SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "event"='ufc 114';</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 "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );. Question: "In the round that lasted 0:20, what was the Res?". [/INST] SELECT "res" FROM "mixed_martial_arts_record" WHERE "time"='0: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 "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "In what City was the Ept Baden Classic?". [/INST] SELECT "city" FROM "european_poker_tour" WHERE "event"='ept baden classic';</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 has a Prize of €869,000?". [/INST] SELECT "event" FROM "european_poker_tour" WHERE "prize"='€869,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: "What Winner had a Prize of zł2,153,999?". [/INST] SELECT "winner" FROM "european_poker_tour" WHERE "prize"='zł2,153,999';</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 "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "How many decile has a roll less than 20?". [/INST] SELECT AVG("decile") FROM "queenstown_lakes_district" WHERE "roll"<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 "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Which gender had a roll of 627?". [/INST] SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"=627;</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 "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Glenorchy school has a decile less than 10 and is in what area?". [/INST] SELECT "area" FROM "queenstown_lakes_district" WHERE "decile"<10 AND "name"='glenorchy 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 "queenstown_lakes_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Makarora primary school has a roll less than 141 and what gender?". [/INST] SELECT "gender" FROM "queenstown_lakes_district" WHERE "roll"<141 AND "name"='makarora primary 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 "uefa_champions_league" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text );. Question: "In what season did the Sporting CP Club have a 1. round?". [/INST] SELECT "season" FROM "uefa_champions_league" WHERE "round"='1. round' AND "club"='sporting cp';</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 "uefa_champions_league" ( "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text );. Question: "The Club of Ekranas was an away with a score of what?". [/INST] SELECT "away" FROM "uefa_champions_league" WHERE "club"='ekranas';</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 "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "What is Rhiannon Leier's lane?". [/INST] SELECT "lane" FROM "semifinal_1" WHERE "name"='rhiannon leier';</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 "class" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );. Question: "What pennant does Narbada have?". [/INST] SELECT "pennant" FROM "class" WHERE "name"='narbada';</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 "class" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text );. Question: "What date was the U21 pennant laid down?". [/INST] SELECT "laid_down" FROM "class" WHERE "pennant"='u21';</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: "What position went lower than 106 from the College of Virginia?". [/INST] SELECT "position" FROM "indianapolis_colts_draft_history" WHERE "overall"<106 AND "college"='virginia';</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: "What is the lowest round a fullback went in?". [/INST] SELECT MIN("round") FROM "indianapolis_colts_draft_history" WHERE "position"='fullback';</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_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text );. Question: "Name the province with rank more than 49". [/INST] SELECT "province" FROM "the_50_most_topographically_isolated_mou" WHERE "rank">49;</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_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text );. Question: "Name the mountain peak with location of 46.7000°n 60.5992°w". [/INST] SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "location"='46.7000°n 60.5992°w';</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_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text );. Question: "Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w". [/INST] SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"<6 AND "location"='81.9083°n 75.0250°w';</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_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text );. Question: "Name the mountain range for nunavut with location of 73.2294°n 78.6233°w". [/INST] SELECT "mountain_range" FROM "the_50_most_topographically_isolated_mou" WHERE "province"='nunavut' AND "location"='73.2294°n 78.6233°w';</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_50_most_topographically_isolated_mou" ( "rank" real, "mountain_peak" text, "province" text, "mountain_range" text, "location" text );. Question: "Name the mountain peak of 49 rank". [/INST] SELECT "mountain_peak" FROM "the_50_most_topographically_isolated_mou" WHERE "rank"=49;</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 "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text );. Question: "What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR?". [/INST] SELECT SUM("live_births_2006") FROM "references" WHERE "whites_as_pct_of_pop"='98.40%' AND "tfr_2006">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 "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text );. Question: "What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?". [/INST] SELECT MIN("gfr_2006") FROM "references" WHERE "whites_as_pct_of_pop"='95.80%' AND "tfr_2006">2.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 "references" ( "county" text, "live_births_2006" real, "gfr_2006" real, "tfr_2006" real, "whites_as_pct_of_pop" text );. Question: "In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76?". [/INST] SELECT MAX("live_births_2006") FROM "references" WHERE "county"='cumbria' AND "tfr_2006">1.76;</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 "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "machine" text, "points" real, "rank" text, "wins" real );. Question: "Question doesn't make sense since there is no team of pramac d'antin ducati". [/INST] SELECT MIN("year") FROM "grand_prix_career_statistics" WHERE "team"='pramac d''antin ducati';</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 "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text );. Question: "Which player from the Ironi Nahariya club was born in 1980?". [/INST] SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='ironi nahariya' AND "year_born"=1980;</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 "fiba_euro_basket_2007_squads" ( "player" text, "height" real, "position" text, "year_born" real, "current_club" text );. Question: "Which position from the Cherkassy Monkeys' club was born after 1978?". [/INST] SELECT "position" FROM "fiba_euro_basket_2007_squads" WHERE "year_born">1978 AND "current_club"='cherkassy monkeys';</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 "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real );. Question: "What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?". [/INST] SELECT AVG("rank") FROM "north_america" WHERE "headquarters"='toronto, on' AND "screens"<'1,438';</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 "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real );. Question: "what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment?". [/INST] SELECT SUM("rank") FROM "north_america" WHERE "sites">62 AND "circuit"='cineplex entertainment';</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 "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real );. Question: "what is the number of sites when the number of screens is 687 and rank is more than 7?". [/INST] SELECT AVG("sites") FROM "north_america" WHERE "screens"=687 AND "rank">7;</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 "north_america" ( "rank" real, "circuit" text, "headquarters" text, "screens" real, "sites" real );. Question: "what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4?". [/INST] SELECT MIN("sites") FROM "north_america" WHERE "headquarters"='columbus, ga' AND "rank"<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 "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text );. Question: "What is the Other transliteration for value 1 000?". [/INST] SELECT "other" FROM "numbers_from_100_10_000_000" WHERE "value"='1 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 "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text );. Question: "What is the word form for the ALA-LC transliteration of muay s″ain?". [/INST] SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "ala_lc"='muay s″ain';</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 "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text );. Question: "What number value has the Other transliteration of muoy roy?". [/INST] SELECT "value" FROM "numbers_from_100_10_000_000" WHERE "other"='muoy roy';</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 "numbers_from_100_10_000_000" ( "value" text, "khmer" real, "word_form" text, "ungegn" text, "ala_lc" text, "other" text, "notes" text );. Question: "What is the word form for the ALA-LC transliteration of muay bân?". [/INST] SELECT "word_form" FROM "numbers_from_100_10_000_000" WHERE "ala_lc"='muay bân';</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: "Name the loss when the record is 76-81". [/INST] SELECT "loss" FROM "game_log" WHERE "record"='76-81';</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, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "Which average bronze had a silver greater than 2 and a gold larger than 7?". [/INST] SELECT AVG("bronze") FROM "medal_table" WHERE "silver">2 AND "gold">7;</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, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "When the total was 11 and silver was greater than 4 what was the highest gold?". [/INST] SELECT MAX("gold") FROM "medal_table" WHERE "total"=11 AND "silver">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 "medal_table" ( "rank" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "How many bronze had a total less than 4 and gold bigger than 1?". [/INST] SELECT COUNT("bronze") FROM "medal_table" WHERE "total"<4 AND "gold">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 "canada_west_football_conference_hardy_tr" ( "institution" text, "team" text, "city" text, "province" text, "first_season" real, "head_coach" text, "enrollment" real, "endowment" text, "football_stadium" text, "capacity" real );. Question: "What is the enrollment associated with a capacity greater then 35,650?". [/INST] SELECT MIN("enrollment") FROM "canada_west_football_conference_hardy_tr" WHERE "capacity">'35,650';</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 "mc_gwire_s_rookie_record_49_home_runs" ( "home_run" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );. Question: "Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th?". [/INST] SELECT "date" FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "opposing_pitcher"='jack morris' AND "inning"='4th';</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 "mc_gwire_s_rookie_record_49_home_runs" ( "home_run" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );. Question: "Which average Home Run has a Game of 89?". [/INST] SELECT AVG("home_run") FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "game"=89;</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 "mc_gwire_s_rookie_record_49_home_runs" ( "home_run" real, "game" real, "date" text, "inning" text, "location" text, "opposing_pitcher" text, "team" text );. Question: "Which team has a Home Run of 27?". [/INST] SELECT "team" FROM "mc_gwire_s_rookie_record_49_home_runs" WHERE "home_run"=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 "international_goals" ( "goal" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );. Question: "Which Assist/pass has a Score of 1-0, and a Goal of 5?". [/INST] SELECT "assist_pass" FROM "international_goals" WHERE "score"='1-0' AND "goal"='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 "international_goals" ( "goal" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );. Question: "Which Assist/pass has a Result of 6-2?". [/INST] SELECT "assist_pass" FROM "international_goals" WHERE "result"='6-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 "international_goals" ( "goal" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );. Question: "Which Assist/pass has a Goal of 5?". [/INST] SELECT "assist_pass" FROM "international_goals" WHERE "goal"='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 "international_goals" ( "goal" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );. Question: "Which location has a Goal of 2?". [/INST] SELECT "location" FROM "international_goals" WHERE "goal"='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 "international_goals" ( "goal" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );. Question: "Which lineup has a Location of usa virginia beach?". [/INST] SELECT "lineup" FROM "international_goals" WHERE "location"='usa virginia beach';</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 "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Which date had a score of 5-1?". [/INST] SELECT "date" FROM "international_goals" WHERE "score"='5-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 "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What result had a score of 2-1?". [/INST] SELECT "result" FROM "international_goals" WHERE "score"='2-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 "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "Which date had a score of 3-2?". [/INST] SELECT "date" FROM "international_goals" WHERE "score"='3-2';</s> |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.