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 "premier_league" ( "team" text, "head_coach" text, "president" text, "home_ground" text, "location" text, "founded" real, "website" text );. Question: "The president, peter williamson, had how many home grounds?". [/INST] SELECT COUNT("home_ground") FROM "premier_league" WHERE "president"='Peter Williamson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "premier_league" ( "team" text, "head_coach" text, "president" text, "home_ground" text, "location" text, "founded" real, "website" text );. Question: "How many head coaches are there for the website, http://www.burleighbulldogs.org/?". [/INST] SELECT COUNT("head_coach") FROM "premier_league" WHERE "website"='http://www.burleighbulldogs.org/';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "premier_league" ( "team" text, "head_coach" text, "president" text, "home_ground" text, "location" text, "founded" real, "website" text );. Question: "The head coach, steve radoslavic, is related to which websites?". [/INST] SELECT "website" FROM "premier_league" WHERE "head_coach"='Steve Radoslavic';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who is the driver of the european grand prix?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "grand_prix"='European Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "What is the report for round 3?". [/INST] SELECT "report" FROM "grands_prix" WHERE "round"=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 "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "What is the winning driver of round 7?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "round"=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 "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Name the grand prix with a driver of Michael Schumacher and a round of 7?". [/INST] SELECT "grand_prix" FROM "grands_prix" WHERE "winning_driver"='Michael Schumacher' AND "fastest_lap"='Michael Schumacher' AND "round"=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 "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Which round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?". [/INST] SELECT "round" FROM "grands_prix" WHERE "winning_constructor"='Benetton - Ford' AND "pole_position"='Damon Hill';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher?". [/INST] SELECT COUNT("grand_prix") FROM "grands_prix" WHERE "winning_constructor"='Benetton - Ford' AND "pole_position"='Michael Schumacher';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning driver in round 6?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "round"=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 "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning driver in the grand prix at Pacific Grand Prix?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "grand_prix"='Pacific Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning driver when the grand Prix was at Belgian Grand Prix?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "grand_prix"='Belgian Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Michael Schumacher?". [/INST] SELECT "winning_driver" FROM "grands_prix" WHERE "pole_position"='Ayrton Senna' AND "fastest_lap"='Michael Schumacher';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "On which date was the winning driver Alain Prost and and had Damon Hill in the pole position?". [/INST] SELECT "date" FROM "grands_prix" WHERE "winning_driver"='Alain Prost' AND "pole_position"='Damon Hill';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Which round was the Spanish Grand Prix?". [/INST] SELECT "round" FROM "grands_prix" WHERE "grand_prix"='Spanish Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_11391448_2" ( "week" real, "date" text, "opponent" text, "result" text, "kickoff_a" text, "venue" text, "tv" text, "attendance" real, "record" text );. Question: "What was the record at week 7". [/INST] SELECT "record" FROM "table1_11391448_2" WHERE "week"=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 "table1_11391448_2" ( "week" real, "date" text, "opponent" text, "result" text, "kickoff_a" text, "venue" text, "tv" text, "attendance" real, "record" text );. Question: "How many teams did they play week 6". [/INST] SELECT COUNT("opponent") FROM "table1_11391448_2" WHERE "week"=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 "championship_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "What is the number of reports for the italian grand prix?". [/INST] SELECT COUNT("report") FROM "championship_review" WHERE "race"='Italian Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "championship_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "What is the pole position of the belgian grand prix?". [/INST] SELECT "pole_position" FROM "championship_review" WHERE "race"='Belgian Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "championship_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "What is the pole position of paul ricard?". [/INST] SELECT "pole_position" FROM "championship_review" WHERE "location"='Paul Ricard';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "championship_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "What is the report of the united states grand prix west?". [/INST] SELECT "report" FROM "championship_review" WHERE "race"='United States Grand Prix West';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "Where is the German Grand Prix?". [/INST] SELECT "location" FROM "season_review" WHERE "race"='German Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "What is the constructor of the Swedish Grand Prix?". [/INST] SELECT "constructor" FROM "season_review" WHERE "race"='Swedish Grand Prix';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_review" ( "rnd" real, "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text );. Question: "Who did the fastest lap at Watkins glen?". [/INST] SELECT "fastest_lap" FROM "season_review" WHERE "location"='Watkins Glen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "What circuit has a race called ii cape south easter trophy.". [/INST] SELECT "circuit" FROM "non_championship_race_results" WHERE "race_name"='II Cape South Easter Trophy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Which driver won the i race of champions?". [/INST] SELECT "winning_driver" FROM "non_championship_race_results" WHERE "race_name"='I Race of Champions';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "What is the report for the race that Mike Spence won.". [/INST] SELECT "report" FROM "non_championship_race_results" WHERE "winning_driver"='Mike Spence';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "What is the report for the race i sunday mirror trophy?". [/INST] SELECT "report" FROM "non_championship_race_results" WHERE "race_name"='I Sunday Mirror Trophy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "east_german_championship" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "How many winners did I Dessau Autobahnspinne have?". [/INST] SELECT COUNT("winning_driver") FROM "east_german_championship" WHERE "race_name"='I Dessau Autobahnspinne';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "east_german_championship" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "What is the date on which a race was run at Halle-Saale-Schleife circuit?". [/INST] SELECT "date" FROM "east_german_championship" WHERE "circuit"='Halle-Saale-Schleife';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "east_german_championship" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "How many races take place in Dessau circuit?". [/INST] SELECT COUNT("race_name") FROM "east_german_championship" WHERE "circuit"='Dessau';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "east_german_championship" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Which races did Paul Greifzu win?". [/INST] SELECT "race_name" FROM "east_german_championship" WHERE "winning_driver"='Paul Greifzu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Which driver won at the Sachsenring circuit?". [/INST] SELECT "winning_driver" FROM "non_championship_race_results" WHERE "circuit"='Sachsenring';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Which constructor was present at the Redex Trophy race?". [/INST] SELECT "constructor" FROM "non_championship_race_results" WHERE "race_name"='RedeX Trophy';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "How many different constructors had Paul Thiel as a winning driver?". [/INST] SELECT COUNT("constructor") FROM "non_championship_race_results" WHERE "winning_driver"='Paul Thiel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: " who is the opponent where tv is abc and game site is tampa stadium". [/INST] SELECT "opponent" FROM "schedule" WHERE "tv"='ABC' AND "game_site"='Tampa Stadium';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: "what is the total number of opponent where date is november 23, 1980". [/INST] SELECT COUNT("opponent") FROM "schedule" WHERE "date"='November 23, 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 "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: "what is the total number of kickoff [a ] where week is week". [/INST] SELECT COUNT("kickoff_a") FROM "schedule" WHERE "week"='Week';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: " what's the week where attendance is 77,098". [/INST] SELECT "week" FROM "schedule" WHERE "attendance"='77,098';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: " what's the record where attendance is 61,350". [/INST] SELECT "record" FROM "schedule" WHERE "attendance"='61,350';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "tv" text, "attendance" text, "record" text );. Question: " what's the record where result is l 24-10". [/INST] SELECT "record" FROM "schedule" WHERE "result"='L 24-10';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "What date was the Silverstone circuit driven? ". [/INST] SELECT "date" FROM "non_championship_race_results" WHERE "circuit"='Silverstone';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "When was the Albi circuit race driven? ". [/INST] SELECT "date" FROM "non_championship_race_results" WHERE "circuit"='Albi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Would built the winning car in the IV J.C.C. Jersey Road Race? ". [/INST] SELECT "constructor" FROM "non_championship_race_results" WHERE "race_name"='IV J.C.C. Jersey Road Race';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );. Question: "Who won the race at the Jersey circuit? ". [/INST] SELECT "winning_driver" FROM "non_championship_race_results" WHERE "circuit"='Jersey';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "american_television_ratings" ( "season" real, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );. Question: "When did the season air where the viewership was 14.71 million?". [/INST] SELECT "season_premiere" FROM "american_television_ratings" WHERE "viewers_in_millions"='14.71';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "american_television_ratings" ( "season" real, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" text );. Question: "What tv season had a season finale of august 18, 2004?". [/INST] SELECT "tv_season" FROM "american_television_ratings" WHERE "season_finale"='August 18, 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "electricity_production_by_renewables_in_" ( "power_source" text, "number_of_generators" real, "power_capacity_gw" text, "pct_of_total_capacity" text, "capacity_factor" text, "annual_energy_billion_k_wh" text, "pct_of_annual_production" text );. Question: "What is the power capacity when the generators were 781?". [/INST] SELECT "power_capacity_gw" FROM "electricity_production_by_renewables_in_" WHERE "number_of_generators"=781;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "electricity_production_by_renewables_in_" ( "power_source" text, "number_of_generators" real, "power_capacity_gw" text, "pct_of_total_capacity" text, "capacity_factor" text, "annual_energy_billion_k_wh" text, "pct_of_annual_production" text );. Question: "What is the percentage of total capacity when the energy is 120.2?". [/INST] SELECT "pct_of_total_capacity" FROM "electricity_production_by_renewables_in_" WHERE "annual_energy_billion_k_wh"='120.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 "electricity_production_by_renewables_in_" ( "power_source" text, "number_of_generators" real, "power_capacity_gw" text, "pct_of_total_capacity" text, "capacity_factor" text, "annual_energy_billion_k_wh" text, "pct_of_annual_production" text );. Question: "What is the % of annual production of solar?". [/INST] SELECT "pct_of_annual_production" FROM "electricity_production_by_renewables_in_" WHERE "power_source"='Solar';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "electricity_production_by_renewables_in_" ( "power_source" text, "number_of_generators" real, "power_capacity_gw" text, "pct_of_total_capacity" text, "capacity_factor" text, "annual_energy_billion_k_wh" text, "pct_of_annual_production" text );. Question: "What is the number of generators where the power capicity is 78.7?". [/INST] SELECT COUNT("number_of_generators") FROM "electricity_production_by_renewables_in_" WHERE "power_capacity_gw"='78.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 "electricity_production_by_renewables_in_" ( "power_source" text, "number_of_generators" real, "power_capacity_gw" text, "pct_of_total_capacity" text, "capacity_factor" text, "annual_energy_billion_k_wh" text, "pct_of_annual_production" text );. Question: "What is the % of total capacity when the generators is 4048?". [/INST] SELECT "pct_of_total_capacity" FROM "electricity_production_by_renewables_in_" WHERE "number_of_generators"=4048;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "Which model number has a GVM (kg) Technical Capacity of 16000 and a Torque Nm@rpm of 600 @ 1700?". [/INST] SELECT "model" FROM "specs_and_range" WHERE "gvm_kg_technical_capacity"='16000' AND "torque_nm_rpm"='600 @ 1700';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "If the model is 15.180e, what is the GVM (kg) Technical Capacity?". [/INST] SELECT "gvm_kg_technical_capacity" FROM "specs_and_range" WHERE "model"='15.180E';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm?". [/INST] SELECT "torque_nm_rpm" FROM "specs_and_range" WHERE "gcm_kg_technical_capacity"='23000' AND "engine_make_capacity"='MWM 6.10 TCA-EURO III (Turbo Intercooler)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "What is the power kw@RPM of the 13.180 model?". [/INST] SELECT COUNT("power_k_w_rpm") FROM "specs_and_range" WHERE "model"='13.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 "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?". [/INST] SELECT "gcm_kg_technical_capacity" FROM "specs_and_range" WHERE "transmission_make_type_speed"='Eaton FS 5306-A Manual Synchromesh 6 Speed';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "specs_and_range" ( "model" text, "engine_make_capacity" text, "power_k_w_rpm" text, "torque_nm_rpm" text, "transmission_make_type_speed" text, "gvm_kg_technical_capacity" text, "gcm_kg_technical_capacity" text );. Question: "Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed?". [/INST] SELECT "model" FROM "specs_and_range" WHERE "transmission_make_type_speed"='Eaton FS-6306 A Manual Synchromesh 6 Speed';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1153898_1" ( "comparisons" text, "hub_base_class" text, "emulated_class" text, "semi_ddm_class" text, "ddm_class" text );. Question: "Is drawing tablet support part of the semi-DDM class?". [/INST] SELECT "semi_ddm_class" FROM "table1_1153898_1" WHERE "comparisons"='Drawing Tablet Support';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1153898_1" ( "comparisons" text, "hub_base_class" text, "emulated_class" text, "semi_ddm_class" text, "ddm_class" text );. Question: "Is usb re-enumeration required part of the emulated class?". [/INST] SELECT "emulated_class" FROM "table1_1153898_1" WHERE "comparisons"='USB RE-Enumeration Required';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1153898_1" ( "comparisons" text, "hub_base_class" text, "emulated_class" text, "semi_ddm_class" text, "ddm_class" text );. Question: "Is wireless combo keyboard and mouse support part of the hub base class?". [/INST] SELECT "hub_base_class" FROM "table1_1153898_1" WHERE "comparisons"='Wireless Combo keyboard and mouse support';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1153898_1" ( "comparisons" text, "hub_base_class" text, "emulated_class" text, "semi_ddm_class" text, "ddm_class" text );. Question: "Is the drawing tablet support part of the DDM class?". [/INST] SELECT "ddm_class" FROM "table1_1153898_1" WHERE "comparisons"='Drawing Tablet Support';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1153898_1" ( "comparisons" text, "hub_base_class" text, "emulated_class" text, "semi_ddm_class" text, "ddm_class" text );. Question: "Is wireless combo keyboard and mouse support part of the DDM class?". [/INST] SELECT "ddm_class" FROM "table1_1153898_1" WHERE "comparisons"='Wireless Combo keyboard and mouse support';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "j" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );. Question: "What school or team does Al Jefferson play for?". [/INST] SELECT "school_club_team" FROM "j" WHERE "player"='Al Jefferson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "j" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );. Question: "Which forward player has the number 22?". [/INST] SELECT "player" FROM "j" WHERE "no"='22' AND "position"='Forward';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "j" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );. Question: "What number does the player from Ohio play with?". [/INST] SELECT "no" FROM "j" WHERE "school_club_team"='Ohio';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "j" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );. Question: "During which years did player number 35 play for Jazz?". [/INST] SELECT "years_for_jazz" FROM "j" WHERE "no"='35';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "qantas_v8_supercars_gp_100" ( "driver" text, "no" real, "team" text, "car" text, "race_1" text, "gp_100" text, "race_3" text, "points" real );. Question: "For driver Mark Skaife what is the result for race 1?". [/INST] SELECT "race_1" FROM "qantas_v8_supercars_gp_100" WHERE "driver"='Mark Skaife';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "When was the game in Mexico played? ". [/INST] SELECT "date" FROM "tournament_results" WHERE "location"='Mexico';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1160660_1" ( "university_name" text, "acronym" text, "date_founded" real, "website" text, "official_registration_notes" text );. Question: "What University has the acrronym of USF". [/INST] SELECT "university_name" FROM "table1_1160660_1" WHERE "acronym"='USF';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1160660_1" ( "university_name" text, "acronym" text, "date_founded" real, "website" text, "official_registration_notes" text );. Question: "What is the acronym used for Beirut Arab University?". [/INST] SELECT "acronym" FROM "table1_1160660_1" WHERE "university_name"='Beirut Arab University';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1160660_1" ( "university_name" text, "acronym" text, "date_founded" real, "website" text, "official_registration_notes" text );. Question: "What is the acronym for the school whose website is ul.edu.lb". [/INST] SELECT "acronym" FROM "table1_1160660_1" WHERE "website"='ul.edu.lb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1160660_1" ( "university_name" text, "acronym" text, "date_founded" real, "website" text, "official_registration_notes" text );. Question: "Are there registration notes on usek.edu.lb?". [/INST] SELECT "official_registration_notes" FROM "table1_1160660_1" WHERE "website"='usek.edu.lb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_1160660_1" ( "university_name" text, "acronym" text, "date_founded" real, "website" text, "official_registration_notes" text );. Question: "What year was USF founded?". [/INST] SELECT "date_founded" FROM "table1_1160660_1" WHERE "acronym"='USF';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the tournament on Jul 11?". [/INST] SELECT "tournament" FROM "tournament_results" WHERE "date"='Jul 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 "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the tournament of aug 29?". [/INST] SELECT "tournament" FROM "tournament_results" WHERE "date"='Aug 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 "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "How many prizes were there at the transamerica?". [/INST] SELECT COUNT("1st_prize") FROM "tournament_results" WHERE "tournament"='The Transamerica';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the sum of the largest purse?". [/INST] SELECT MAX("purse") FROM "tournament_results";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "When was the tournament in Washington held?". [/INST] SELECT "date" FROM "tournament_results" WHERE "location"='Washington';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "How many tournaments in Texas had a purse higher than 330105.1624276874?". [/INST] SELECT COUNT("1st_prize") FROM "tournament_results" WHERE "location"='Texas' AND "purse">330105.1624276874;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2_2007_08" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the first season written by joseph hampton & dani renee?". [/INST] SELECT MIN("season_no") FROM "season_2_2007_08" WHERE "written_by"='Joseph Hampton & Dani Renee';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2_2007_08" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "How many air dates are there for production code 206?". [/INST] SELECT COUNT("original_air_date") FROM "season_2_2007_08" WHERE "production_code"=206;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2_2007_08" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the title for season 2?". [/INST] SELECT "title" FROM "season_2_2007_08" WHERE "season_no"=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 "season_2_2007_08" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the series number for the title "Bad Influence"". [/INST] SELECT MAX("series_no") FROM "season_2_2007_08" WHERE "title"='\"Bad Influence\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_2_2007_08" ( "series_no" real, "season_no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "How many seasons was series number 47 shown?". [/INST] SELECT COUNT("season_no") FROM "season_2_2007_08" WHERE "series_no"=47;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4_2008" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "When did the episode with production code 410 air?". [/INST] SELECT "original_air_date" FROM "season_4_2008" WHERE "production_code"=410;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_4_2008" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the most series number with season 3?". [/INST] SELECT MAX("series_num") FROM "season_4_2008" WHERE "season_num"=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 "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the purse value for the New York location?". [/INST] SELECT "purse" FROM "tournament_results" WHERE "location"='New 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 "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the largest 1st prize( $ ) at the South Carolina location?". [/INST] SELECT MAX("1st_prize") FROM "tournament_results" WHERE "location"='South Carolina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );. Question: "What is the score for the Oregon location?". [/INST] SELECT "score" FROM "tournament_results" WHERE "location"='Oregon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polish_voivodeships_1919_1939" ( "car_plates_since_1937" text, "voivodeship_separate_city" text, "capital" text, "area_in_1000km_1930" text, "population_in_1000_1931" text );. Question: "List all areas within 1000 km in the city of Lubelskie?". [/INST] SELECT "area_in_1000km_1930" FROM "polish_voivodeships_1919_1939" WHERE "voivodeship_separate_city"='lubelskie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polish_voivodeships_1919_1939" ( "car_plates_since_1937" text, "voivodeship_separate_city" text, "capital" text, "area_in_1000km_1930" text, "population_in_1000_1931" text );. Question: "What is the population in the city of Pomorskie?". [/INST] SELECT "population_in_1000_1931" FROM "polish_voivodeships_1919_1939" WHERE "voivodeship_separate_city"='pomorskie';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polish_voivodeships_1919_1939" ( "car_plates_since_1937" text, "voivodeship_separate_city" text, "capital" text, "area_in_1000km_1930" text, "population_in_1000_1931" text );. Question: "List all car plates in the capital of Wilno since the year of 1937.". [/INST] SELECT "car_plates_since_1937" FROM "polish_voivodeships_1919_1939" WHERE "capital"='Wilno';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polish_voivodeships_1919_1939" ( "car_plates_since_1937" text, "voivodeship_separate_city" text, "capital" text, "area_in_1000km_1930" text, "population_in_1000_1931" text );. Question: "List population when their car plates are 30-34.". [/INST] SELECT "population_in_1000_1931" FROM "polish_voivodeships_1919_1939" WHERE "car_plates_since_1937"='30-34';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "won" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text );. Question: "How many points are there when the lost is 26?". [/INST] SELECT "points" FROM "regular_season" WHERE "lost"=26;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "combination_classification" text, "team_classification" text );. Question: "WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ?". [/INST] SELECT "team_classification" FROM "jersey_progress" WHERE "points_classification"='Bradley Wiggins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "combination_classification" text, "team_classification" text );. Question: "IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?". [/INST] SELECT "stage_winner" FROM "jersey_progress" WHERE "general_classification"='Alexander Vinokourov';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_scores" ( "delegate" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "Name the average for spain delegate". [/INST] SELECT "average" FROM "semifinal_scores" WHERE "delegate"='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 "semifinal_scores" ( "delegate" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "Name the interview for peru delegate". [/INST] SELECT "interview" FROM "semifinal_scores" WHERE "delegate"='Peru';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_scores" ( "delegate" text, "interview" text, "swimsuit" text, "evening_gown" text, "average" text );. Question: "Name the number of swimsuit for israel". [/INST] SELECT COUNT("swimsuit") FROM "semifinal_scores" WHERE "delegate"='Israel';</s>