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 "2009_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real );. Question: "Name the highest Profits (billion $) which has a Company of walmart?". [/INST] SELECT MAX("profits_billion") FROM "2009_list" WHERE "company"='walmart';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real );. Question: "How many Assets (billion $) has an Industry of oil and gas, and a Rank of 9, and a Market Value (billion $) larger than 121.7?". [/INST] SELECT SUM("assets_billion") FROM "2009_list" WHERE "industry"='oil and gas' AND "rank"=9 AND "market_value_billion">121.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 "2009_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real );. Question: "Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4?". [/INST] SELECT MIN("profits_billion") FROM "2009_list" WHERE "sales_billion"=425.7 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 "2009_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real );. Question: "Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21?". [/INST] SELECT MIN("market_value_billion") FROM "2009_list" WHERE "assets_billion">276.81 AND "company"='toyota' AND "profits_billion">17.21;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2009_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real );. Question: "Name the Sales (billion $) which have a Company of exxonmobil?". [/INST] SELECT "sales_billion" FROM "2009_list" WHERE "company"='exxonmobil';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "winner" text, "points" real, "playoff_result" text, "win_num" real );. Question: "What is Winner, when Win # is greater than 1, and when Points is less than 94?". [/INST] SELECT "winner" FROM "winners" WHERE "win_num">1 AND "points"<94;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "winner" text, "points" real, "playoff_result" text, "win_num" real );. Question: "What is Playoff Result, when Winner is "Alaska Aces", when Win # is greater than 1, when Points is less than 106, and when Year is "2011-12"?". [/INST] SELECT "playoff_result" FROM "winners" WHERE "winner"='alaska aces' AND "win_num">1 AND "points"<106 AND "year"='2011-12';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "winner" text, "points" real, "playoff_result" text, "win_num" real );. Question: "What is the lowest Win #, when Year is "2011-12", and when Points is less than 97?". [/INST] SELECT MIN("win_num") FROM "winners" WHERE "year"='2011-12' AND "points"<97;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners" ( "year" text, "winner" text, "points" real, "playoff_result" text, "win_num" real );. Question: "What is the highest Win #, when Winner is "Knoxville Cherokees", when Playoff Result is "Lost 1st Round ( LOU )", and when Points is less than 94?". [/INST] SELECT MAX("win_num") FROM "winners" WHERE "winner"='knoxville cherokees' AND "playoff_result"='lost 1st round ( lou )' AND "points"<94;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the winner against Lindsay Davenport?". [/INST] SELECT "winner" FROM "singles" WHERE "finalist"='lindsay davenport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the finalist in Miami?". [/INST] SELECT "finalist" FROM "singles" WHERE "tournament"='miami';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the winner against finalist Lina Krasnoroutskaya?". [/INST] SELECT "winner" FROM "singles" WHERE "finalist"='lina krasnoroutskaya';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "What was the date when the away team was carlisle united?". [/INST] SELECT "date" FROM "fifth_round_proper" WHERE "away_team"='carlisle 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 "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "What was the date when the away team was the leeds united?". [/INST] SELECT "date" FROM "fifth_round_proper" WHERE "away_team"='leeds 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 "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "What was the tie number when peterborough united was the away team?". [/INST] SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='peterborough 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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the highest week when attendance is greater than 64,300 with a result of w 27-14?". [/INST] SELECT MAX("week") FROM "schedule" WHERE "attendance">'64,300' AND "result"='w 27-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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What result in a week over 2 occurred with an attendance greater than 53,043 on November 18, 1979?". [/INST] SELECT "result" FROM "schedule" WHERE "attendance">'53,043' AND "week">2 AND "date"='november 18, 1979';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What player has E as the to par, and The United States as the country?". [/INST] SELECT "player" FROM "first_round" WHERE "to_par"='e' AND "country"='united states';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What player has The United States as the country with 70 as the score?". [/INST] SELECT "player" FROM "first_round" WHERE "country"='united states' AND "score"=70;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What player has The United States as the country, with t2 as the place?". [/INST] SELECT "player" FROM "first_round" WHERE "country"='united states' AND "place"='t2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );. Question: "What place has E as the to par, with Mark Wiebe as the player?". [/INST] SELECT "place" FROM "first_round" WHERE "to_par"='e' AND "player"='mark wiebe';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_teams" ( "club" text, "home_city" text, "stadium" text, "founded" real, "joined_prsl" real );. Question: "When is the club founded that founed prsl in 2008 and the home city is carolina 1?". [/INST] SELECT MAX("founded") FROM "final_teams" WHERE "joined_prsl"=2008 AND "home_city"='carolina 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 "final_teams" ( "club" text, "home_city" text, "stadium" text, "founded" real, "joined_prsl" real );. Question: "what is the club that was founded before 2007, joined prsl in 2008 and the stadium is yldefonso solá morales stadium?". [/INST] SELECT "club" FROM "final_teams" WHERE "founded"<2007 AND "joined_prsl"=2008 AND "stadium"='yldefonso solá morales 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 "final_teams" ( "club" text, "home_city" text, "stadium" text, "founded" real, "joined_prsl" real );. Question: "what is the earliest founded when the home city is mayagüez?". [/INST] SELECT MIN("founded") FROM "final_teams" WHERE "home_city"='mayagüez';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_teams" ( "club" text, "home_city" text, "stadium" text, "founded" real, "joined_prsl" real );. Question: "when is the latest to join prsl when founded in 2007 and the stadium is roberto clemente stadium 1?". [/INST] SELECT MAX("joined_prsl") FROM "final_teams" WHERE "founded"=2007 AND "stadium"='roberto clemente stadium 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 "intercontinental_cup_winners" ( "year" text, "host_city" text, "champion" text, "runner_up" text, "final" text );. Question: "What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?". [/INST] SELECT "year" FROM "intercontinental_cup_winners" WHERE "champion"='akron goodyear wingfoots' AND "runner_up"='real madrid';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );. Question: "In what year did the United States win To par greater than 14". [/INST] SELECT "year_s_won" FROM "missed_the_cut" WHERE "country"='united states' AND "to_par">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 "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );. Question: "What is the total that South Africa had a par greater than 14". [/INST] SELECT SUM("total") FROM "missed_the_cut" WHERE "country"='south africa' AND "to_par">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 "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );. Question: "What is the highest to par that is less than 153". [/INST] SELECT MAX("to_par") FROM "missed_the_cut" WHERE "total"<153;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the average Attendance, when the Date is September 17, 1981?". [/INST] SELECT AVG("attendance") FROM "schedule" WHERE "date"='september 17, 1981';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the Attendance, when the Opponent is the Tampa Bay Buccaneers?". [/INST] SELECT "attendance" FROM "schedule" WHERE "opponent"='tampa bay buccaneers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_13_season_standings" ( "team" text, "sets" real, "sets" real, "points" real, "points" real );. Question: "What is the highest Sets+ number for Valeriano Allès Menorca when the Sets- number was larger than 31?". [/INST] SELECT MAX("sets") FROM "2012_13_season_standings" WHERE "team"='valeriano allès menorca' AND "sets">31;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_13_season_standings" ( "team" text, "sets" real, "sets" real, "points" real, "points" real );. Question: "What is the total number of Points- when the Sets- is larger than 51?". [/INST] SELECT COUNT("points") FROM "2012_13_season_standings" WHERE "sets">51;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_13_season_standings" ( "team" text, "sets" real, "sets" real, "points" real, "points" real );. Question: "What is the highest Points+ number when the Points- number is larger than 1385, a Sets+ number smaller than 37 and a Sets- number larger than 41?". [/INST] SELECT MAX("points") FROM "2012_13_season_standings" WHERE "points">1385 AND "sets"<37 AND "sets">41;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_13_season_standings" ( "team" text, "sets" real, "sets" real, "points" real, "points" real );. Question: "Who is the team who had a Sets+ number smaller than 20, a Sets- number of 45, and a Points+ number smaller than 1238?". [/INST] SELECT "team" FROM "2012_13_season_standings" WHERE "sets"<20 AND "points"<1238 AND "sets"=45;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2012_13_season_standings" ( "team" text, "sets" real, "sets" real, "points" real, "points" real );. Question: "What is the highest Points+ number that has a Sets+ number larger than 45, a Sets- number larger than 9, and a Points- number smaller than 1066?". [/INST] SELECT MAX("points") FROM "2012_13_season_standings" WHERE "sets">45 AND "points"<1066 AND "sets">9;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series" ( "name" text, "year_of_release" text, "developer" text, "publisher" text, "original_platforms" text );. Question: "Which developer has a year of cancelled releases?". [/INST] SELECT "developer" FROM "series" WHERE "year_of_release"='cancelled';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series" ( "name" text, "year_of_release" text, "developer" text, "publisher" text, "original_platforms" text );. Question: "Which publisher has release year of 2000 and an original dreamcast platform?". [/INST] SELECT "publisher" FROM "series" WHERE "year_of_release"='2000' AND "original_platforms"='dreamcast';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "series" ( "name" text, "year_of_release" text, "developer" text, "publisher" text, "original_platforms" text );. Question: "Which publisher is responsible for spec ops: stealth patrol?". [/INST] SELECT "publisher" FROM "series" WHERE "name"='spec ops: stealth patrol';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "comparison" ( "web_client_accelerator" text, "operating_system" text, "browser" text, "client" text, "connection" text );. Question: "What is the connection for the proxyconn web accelerator web client accelerator?". [/INST] SELECT "connection" FROM "comparison" WHERE "web_client_accelerator"='proxyconn web accelerator';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What's the Date with the Region of Europe and has a Catalog of 28765 22392 8?". [/INST] SELECT "date" FROM "release_history" WHERE "region"='europe' AND "catalog"='28765 22392 8';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What's listed for the Label with a Date of 29 July 1997?". [/INST] SELECT "label" FROM "release_history" WHERE "date"='29 july 1997';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?". [/INST] SELECT "date" FROM "release_history" WHERE "region"='europe' AND "catalog"='28765 22392 8';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What Format has the Region of Europe and a Catalog of 74321 45851 2?". [/INST] SELECT "format" FROM "release_history" WHERE "region"='europe' AND "catalog"='74321 45851 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 "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What Label has the Region of Australia?". [/INST] SELECT "label" FROM "release_history" WHERE "region"='australia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What Date has the Region Europe and a Catalog of 74321 45851 2?". [/INST] SELECT "date" FROM "release_history" WHERE "region"='europe' AND "catalog"='74321 45851 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 "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" text, "position" text );. Question: "How many poles are there in the Formula Three Euroseries in the 2008 season with more than 0 F/Laps?". [/INST] SELECT SUM("poles") FROM "career_summary" WHERE "series"='formula three euroseries' AND "season"='2008' AND "f_laps">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 "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" text, "position" text );. Question: "Which series has 11 points?". [/INST] SELECT "series" FROM "career_summary" WHERE "points"='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 "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" text, "position" text );. Question: "How many poles are there in the 2009 season with 2 races and more than 0 F/Laps?". [/INST] SELECT COUNT("poles") FROM "career_summary" WHERE "season"='2009' AND "races"=2 AND "f_laps">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 "career_summary" ( "season" text, "series" text, "team" text, "races" real, "wins" real, "poles" real, "f_laps" real, "points" text, "position" text );. Question: "How many races did the Formula Three Euroseries signature team have?". [/INST] SELECT SUM("races") FROM "career_summary" WHERE "series"='formula three euroseries' AND "team"='signature';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );. Question: "What is Title, when Studio is "Embassy Pictures"?". [/INST] SELECT "title" FROM "top_grossing_films_u_s" WHERE "studio"='embassy pictures';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );. Question: "What is Studio, when Title is "Do Not Disturb"?". [/INST] SELECT "studio" FROM "top_grossing_films_u_s" WHERE "title"='do not disturb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "top_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );. Question: "What is the highest Rank, when Director is "Henry Hathaway"?". [/INST] SELECT MAX("rank") FROM "top_grossing_films_u_s" WHERE "director"='henry hathaway';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );. Question: "What Country is Player Sam Snead with a To par of less than 5 from?". [/INST] SELECT "country" FROM "final_leaderboard" WHERE "to_par"<5 AND "player"='sam snead';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );. Question: "What is Claude Harmon's Place?". [/INST] SELECT "place" FROM "final_leaderboard" WHERE "player"='claude harmon';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );. Question: "What is the Johnny Palmer with a To larger than 6 Money sum?". [/INST] SELECT SUM("money") FROM "final_leaderboard" WHERE "to_par">6 AND "player"='johnny palmer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text );. Question: "Which Season # has a Title of "jaunt (part 2)", and a Series # larger than 45?". [/INST] SELECT MAX("season_num") FROM "season_3_1998_99" WHERE "title"='\"jaunt (part 2)\"' AND "series_num">45;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text );. Question: "Which Original air date has a Season # smaller than 21, and a Title of "palimpsest"?". [/INST] SELECT "original_air_date" FROM "season_3_1998_99" WHERE "season_num"<21 AND "title"='\"palimpsest\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wnba_playoffs" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" text, "series" text );. Question: "Who is the opponent of the game with a tied 1-1 series and becky hammon (14) as the leading scorer?". [/INST] SELECT "opponent" FROM "wnba_playoffs" WHERE "series"='tied 1-1' AND "leading_scorer"='becky hammon (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 "wnba_playoffs" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" text, "series" text );. Question: "What is the attendance of the western conference finals series?". [/INST] SELECT "attendance" FROM "wnba_playoffs" WHERE "series"='western conference finals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wnba_playoffs" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" text, "series" text );. Question: "Who is the leading scorer of the wnba finals series?". [/INST] SELECT "leading_scorer" FROM "wnba_playoffs" WHERE "series"='wnba finals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "Which Tie is from birmingham city?". [/INST] SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='birmingham city';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "Which Tie is from everton?". [/INST] SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='everton';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "games" ( "alianza_wins" real, "draws" real, "u_wins" real, "alianza_goals" real, "u_goals" real );. Question: "What is the lowest U Wins, when Alianza Wins is greater than 0, when Alianza Goals is greater than 25, and when Draws is "99"?". [/INST] SELECT MIN("u_wins") FROM "games" WHERE "alianza_wins">0 AND "alianza_goals">25 AND "draws"=99;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "games" ( "alianza_wins" real, "draws" real, "u_wins" real, "alianza_goals" real, "u_goals" real );. Question: "What is the sum of Alianza Wins, when Alianza Goals is "317, and when U Goals is greater than 296?". [/INST] SELECT SUM("alianza_wins") FROM "games" WHERE "alianza_goals"=317 AND "u_goals">296;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "games" ( "alianza_wins" real, "draws" real, "u_wins" real, "alianza_goals" real, "u_goals" real );. Question: "What is the total number of U Wins, when Alianza Goals is "0", and when U Goals is greater than 3?". [/INST] SELECT COUNT("u_wins") FROM "games" WHERE "alianza_goals"=0 AND "u_goals">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 "games" ( "alianza_wins" real, "draws" real, "u_wins" real, "alianza_goals" real, "u_goals" real );. Question: "What is the lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2?". [/INST] SELECT MIN("draws") FROM "games" WHERE "alianza_goals"<317 AND "u_goals"<3 AND "alianza_wins"<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 "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );. Question: "What is the total of all to par with player Bob Rosburg?". [/INST] SELECT SUM("to_par") FROM "final_round" WHERE "player"='bob rosburg';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );. Question: "Which money has player Jack Fleck with t1 place?". [/INST] SELECT "money" FROM "final_round" WHERE "place"='t1' AND "player"='jack fleck';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );. Question: "What is average to par when Bud Holscher is the player?". [/INST] SELECT AVG("to_par") FROM "final_round" WHERE "player"='bud holscher';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What is the name of the golfer that has the score of 73-65=138?". [/INST] SELECT "player" FROM "second_round" WHERE "score"='73-65=138';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Frank Nobilo plays for what country?". [/INST] SELECT "country" FROM "second_round" WHERE "player"='frank nobilo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "statistics" ( "season" text, "appearance" real, "tries" real, "goals" real, "points" real );. Question: "what is the lowest appearance when goals is more than 0?". [/INST] SELECT MIN("appearance") FROM "statistics" WHERE "goals">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 "statistics" ( "season" text, "appearance" real, "tries" real, "goals" real, "points" real );. Question: "what is the sum of appearance when goals is more than 0?". [/INST] SELECT SUM("appearance") FROM "statistics" WHERE "goals">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 "statistics" ( "season" text, "appearance" real, "tries" real, "goals" real, "points" real );. Question: "what is the average tries for the season 2008 warrington wolves with an appearance more than 7?". [/INST] SELECT AVG("tries") FROM "statistics" WHERE "season"='2008 warrington wolves' AND "appearance">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 "statistics" ( "season" text, "appearance" real, "tries" real, "goals" real, "points" real );. Question: "How many times is tries 0 and appearance less than 0?". [/INST] SELECT COUNT("points") FROM "statistics" WHERE "tries"=0 AND "appearance"<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 "highest_grossing_films_of_1994" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text );. Question: "What is the Rank of the Film with a Worldwide Gross of $183,031,272?". [/INST] SELECT SUM("rank") FROM "highest_grossing_films_of_1994" WHERE "worldwide_gross"='$183,031,272';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "highest_grossing_films_of_1994" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text );. Question: "What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?". [/INST] SELECT "title" FROM "highest_grossing_films_of_1994" WHERE "rank">11 AND "worldwide_gross"='$131,002,597';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "highest_grossing_films_of_1994" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text );. Question: "What is the Worldwide Gross of the Film with a Rank of 3?". [/INST] SELECT "worldwide_gross" FROM "highest_grossing_films_of_1994" WHERE "rank"=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 "highest_grossing_films_of_1994" ( "rank" real, "title" text, "studio" text, "director" text, "worldwide_gross" text );. Question: "What is the Worldwide Gross of the Film with a Rank of 16?". [/INST] SELECT "worldwide_gross" FROM "highest_grossing_films_of_1994" WHERE "rank"=16;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "When the player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards?". [/INST] SELECT SUM("long") FROM "rushing" WHERE "loss">390 AND "gain"<'1,405';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "When the Gain is 29, and the average per game is 2, and the player lost less than 390 yards, what's the sum of the Long yards?". [/INST] SELECT SUM("long") FROM "rushing" WHERE "loss"<390 AND "avg_g"=2 AND "gain">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 "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real );. Question: "What's the sum of all average yards gained when the gained yards is under 1,276 and lost more than 3 yards?". [/INST] SELECT SUM("avg_g") FROM "rushing" WHERE "gain"<'1,276' AND "loss">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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "How many overalls have charley barnes as the name, with a pick less than 3?". [/INST] SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "name"='charley barnes' AND "pick"<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 "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "How many rounds have john o'day as the name, and a pick less than 3?". [/INST] SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "name"='john o''day' AND "pick"<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 "international_services" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What airport has an IATA of ARN?". [/INST] SELECT "airport" FROM "international_services" WHERE "iata"='arn';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_services" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What country has an ICAO of ENZV?". [/INST] SELECT "country" FROM "international_services" WHERE "icao"='enzv';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_services" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What airport has an ICAP of BGBW?". [/INST] SELECT "airport" FROM "international_services" WHERE "icao"='bgbw';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_services" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What airport has an ICAO of Birk?". [/INST] SELECT "airport" FROM "international_services" WHERE "icao"='birk';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_services" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the ICAO for Denmark, and the IATA is bll?". [/INST] SELECT "icao" FROM "international_services" WHERE "country"='denmark' AND "iata"='bll';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What is the number of the round in which Ron Hansen was drafted and the overall is greater than 332?". [/INST] SELECT COUNT("round") FROM "washington_redskins_draft_history" WHERE "name"='ron hansen' AND "overall">332;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What pick did George Rosso get drafted when the overall was less than 296?". [/INST] SELECT COUNT("pick") FROM "washington_redskins_draft_history" WHERE "name"='george rosso' AND "overall"<296;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "What was the from for the Date From of 2007-08-08?". [/INST] SELECT "from" FROM "loan_in" WHERE "date_from"='2007-08-08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "What was the from for the Date From of 2007-08-08?". [/INST] SELECT "from" FROM "loan_in" WHERE "date_from"='2007-08-08';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "What was the name for the row with Date From of 2008-02-21?". [/INST] SELECT "name" FROM "loan_in" WHERE "date_from"='2008-02-21';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "What was the Date From for Theo Robinson, who was with the team until the end of season?". [/INST] SELECT "date_from" FROM "loan_in" WHERE "date_to"='end of season' AND "name"='theo robinson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "Where was the player from who had the position of DF, who started 2007-10-30?". [/INST] SELECT "from" FROM "loan_in" WHERE "position"='df' AND "date_from"='2007-10-30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "loan_in" ( "date_from" text, "date_to" text, "position" text, "name" text, "from" text );. Question: "What date did Toumani Diagouraga, who played position MF, start?". [/INST] SELECT "date_from" FROM "loan_in" WHERE "position"='mf' AND "name"='toumani diagouraga';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "location" text );. Question: "What is the average round against opponent Klas Akesson?". [/INST] SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "opponent"='klas akesson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" text );. Question: "What is the highest week that was played against the Minnesota Vikings?". [/INST] SELECT MAX("week") FROM "schedule" WHERE "opponent"='minnesota vikings';</s>