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 "nfl_draft" ( "round_num" real, "pick_num" text, "player" text, "position" text, "college" text );. Question: "What is the College with a Player that is dean caliguire?". [/INST] SELECT "college" FROM "nfl_draft" WHERE "player"='dean caliguire';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "liverpool" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );. Question: "What was the first leg of the semi-final?". [/INST] SELECT "first_leg" FROM "liverpool" WHERE "round"='semi-final';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "liverpool" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );. Question: "What was the first leg score against Real Sociedad?". [/INST] SELECT "first_leg" FROM "liverpool" WHERE "opposition"='real sociedad';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "liverpool" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );. Question: "What was the first leg against Hibernian?". [/INST] SELECT "first_leg" FROM "liverpool" WHERE "opposition"='hibernian';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "liverpool" ( "round" text, "opposition" text, "first_leg" text, "second_leg" text, "aggregate_score" text );. Question: "Who were the opposition in the quarter-final?". [/INST] SELECT "opposition" FROM "liverpool" WHERE "round"='quarter-final';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "assists" ( "rank" real, "name" text, "team" text, "games" real, "assists" real );. Question: "What is the least number of assists among players ranked 2?". [/INST] SELECT MIN("assists") FROM "assists" WHERE "rank"=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 "all_time_medal_tables" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the lowest total when the rank is 14 and the gold medals is larger than 0?". [/INST] SELECT MIN("total") FROM "all_time_medal_tables" WHERE "rank"='14' AND "gold">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "all_time_medal_tables" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the total number of medals when there are 18 gold medals?". [/INST] SELECT SUM("total") FROM "all_time_medal_tables" WHERE "gold"=18;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "all_time_medal_tables" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the number of bronze medals when the total is greater than 1, more than 2 silver medals are won, and the rank is 2?". [/INST] SELECT "bronze" FROM "all_time_medal_tables" WHERE "total">1 AND "silver">2 AND "rank"='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 "schedule" ( "date" text, "opponent" text, "location" text, "score" text, "loss" text, "record" text );. Question: "What was the location of the game when the record was 12-4?". [/INST] SELECT "location" FROM "schedule" WHERE "record"='12-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 "schedule" ( "date" text, "opponent" text, "location" text, "score" text, "loss" text, "record" text );. Question: "What was the location of the game when the record was 2-1?". [/INST] SELECT "location" FROM "schedule" WHERE "record"='2-1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );. Question: "What day was the game that had the Cavaliers as visiting team and the Knicks as the home team?". [/INST] SELECT "date" FROM "april" WHERE "visitor"='cavaliers' AND "home"='knicks';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "completed_suspension_bridges" ( "rank" real, "main_span_metres" text, "main_span_feet" text, "year_opened" real, "country" text );. Question: "What is the main span in feet from a year of 2009 or more recent with a rank less than 94 and 1,310 main span metres?". [/INST] SELECT "main_span_feet" FROM "completed_suspension_bridges" WHERE "year_opened">2009 AND "rank"<94 AND "main_span_metres"='1,310';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "completed_suspension_bridges" ( "rank" real, "main_span_metres" text, "main_span_feet" text, "year_opened" real, "country" text );. Question: "What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres?". [/INST] SELECT "main_span_feet" FROM "completed_suspension_bridges" WHERE "year_opened"=1936 AND "country"='united states' AND "rank">47 AND "main_span_metres"='421';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "completed_suspension_bridges" ( "rank" real, "main_span_metres" text, "main_span_feet" text, "year_opened" real, "country" text );. Question: "What is the highest rank from the year greater than 2010 with 430 main span metres?". [/INST] SELECT MAX("rank") FROM "completed_suspension_bridges" WHERE "year_opened">2010 AND "main_span_metres"='430';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "completed_suspension_bridges" ( "rank" real, "main_span_metres" text, "main_span_feet" text, "year_opened" real, "country" text );. Question: "What is the oldest year with a main span feet of 1,640 in South Korea?". [/INST] SELECT MIN("year_opened") FROM "completed_suspension_bridges" WHERE "main_span_feet"='1,640' AND "country"='south korea';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "What was the score of the game when the record was 39โ€“21โ€“4?". [/INST] SELECT "score" FROM "game_log" WHERE "record"='39โ€“21โ€“4';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );. Question: "What was the date of the game with a score of 2โ€“1?". [/INST] SELECT "date" FROM "game_log" WHERE "score"='2โ€“1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );. Question: "What is the earliest week that the Texans played at the Cleveland Browns Stadium?". [/INST] SELECT MIN("week") FROM "schedule" WHERE "game_site"='cleveland browns 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" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );. Question: "When did the Texans play at LP Field?". [/INST] SELECT "date" FROM "schedule" WHERE "game_site"='lp field';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing" ( "name" text, "gp_gs" text, "year" text, "att_cmp_int" text, "avg_g" real );. Question: "Which quarterback had an Avg/G of 195.8?". [/INST] SELECT "name" FROM "passing" WHERE "avg_g"=195.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 "list_of_state_leaders_in_100_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text );. Question: "When did Philoxenus Anicetus begin to hold power?". [/INST] SELECT "from" FROM "list_of_state_leaders_in_100_bc" WHERE "name"='philoxenus anicetus';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_state_leaders_in_100_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text );. Question: "When did Demetrios III begin to hold power?". [/INST] SELECT "from" FROM "list_of_state_leaders_in_100_bc" WHERE "name"='demetrios iii';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_state_leaders_in_100_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text );. Question: "Which royal house corresponds to Polyxenos Epiphanes Soter?". [/INST] SELECT "royal_house" FROM "list_of_state_leaders_in_100_bc" WHERE "name"='polyxenos epiphanes soter';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );. Question: "What is Mark, when Name is Dmytro Hlushchenko?". [/INST] SELECT "mark" FROM "semifinals" WHERE "name"='dmytro hlushchenko';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );. Question: "What is Country, when Lane is 5, and when React is greater than 0.166?". [/INST] SELECT "country" FROM "semifinals" WHERE "lane"=5 AND "react">0.166;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );. Question: "What is the lowest Lane, when Country is France, and when React is less than 0.14100000000000001?". [/INST] SELECT MIN("lane") FROM "semifinals" WHERE "country"='france' AND "react"<0.14100000000000001;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );. Question: "What is Heat, when Mark is 6.69?". [/INST] SELECT "heat" FROM "semifinals" WHERE "mark"='6.69';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );. Question: "What is the average number of points for a song ranked 2nd with a draw greater than 3?". [/INST] SELECT AVG("points") FROM "references" WHERE "rank"='2nd' AND "draw">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 "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );. Question: "What is the total number of draws for songs performed by Miranda with fewer than 48 points?". [/INST] SELECT COUNT("draw") FROM "references" WHERE "performer"='miranda' AND "points"<48;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "children" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );. Question: "What is the HDTV when the content shows a timeshift +1 di disney junior?". [/INST] SELECT "hdtv" FROM "children" WHERE "content"='timeshift +1 di disney junior';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "children" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );. Question: "What is the Country when the language is italian english, and the television service is disney xd +1?". [/INST] SELECT "country" FROM "children" WHERE "language"='italian english' AND "television_service"='disney xd +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 "children" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );. Question: "What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1?". [/INST] SELECT "hdtv" FROM "children" WHERE "package_option"='sky famiglia' AND "television_service"='boomerang +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 "children" ( "television_service" text, "country" text, "language" text, "content" text, "hdtv" text, "package_option" text );. Question: "What shows as Content for the Television service of nickelodeon +1?". [/INST] SELECT "content" FROM "children" WHERE "television_service"='nickelodeon +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 "attendance" ( "team" text, "year_2007" real, "year_2006" real, "year_2005" real, "change_06_07" text );. Question: "What is the Team, when the Year 2007 is greater than 15,710, when the Year 2006 is greater than 17,666, and when the Year 2005 is greater than 22,532?". [/INST] SELECT "team" FROM "attendance" WHERE "year_2007">'15,710' AND "year_2006">'17,666' AND "year_2005">'22,532';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "attendance" ( "team" text, "year_2007" real, "year_2006" real, "year_2005" real, "change_06_07" text );. Question: "What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377?". [/INST] SELECT SUM("year_2007") FROM "attendance" WHERE "year_2005">'29,377';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "On what day was the game that ended in a score of 97-38?". [/INST] SELECT "date" FROM "round_two" WHERE "score"='97-38';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "Who was the home team of the game at the time of 14:00?". [/INST] SELECT "home" FROM "round_two" WHERE "time"='14:00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "Who was the home team of the game at the time of 15:00?". [/INST] SELECT "home" FROM "round_two" WHERE "time"='15:00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "On what day was the game that ended in a score of 97-38?". [/INST] SELECT "date" FROM "round_two" WHERE "score"='97-38';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "Who was the away team of the game at the time 15:00?". [/INST] SELECT "away" FROM "round_two" WHERE "time"='15:00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "round_two" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );. Question: "On what grounds did the away team of the Toronto Rebels play?". [/INST] SELECT "ground" FROM "round_two" WHERE "away"='toronto rebels';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "area" text, "capital" text, "region" text, "country" text );. Question: "Which capital has a Hangul of ๊ฒฝ์ƒ๋‚จ๋„?". [/INST] SELECT "capital" FROM "provinces_since_the_division_of_korea" WHERE "hangul_chosongul"='๊ฒฝ์ƒ๋‚จ๋„';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "area" text, "capital" text, "region" text, "country" text );. Question: "Which country has a city with a Hanja of ๅนณๅฎ‰ๅŒ—้“?". [/INST] SELECT "country" FROM "provinces_since_the_division_of_korea" WHERE "hanja"='ๅนณๅฎ‰ๅŒ—้“';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "area" text, "capital" text, "region" text, "country" text );. Question: "What is the RR Romaja for the province that has Hangul of ๊ฐ•์›๋„ and capital of Wonsan?". [/INST] SELECT "rr_romaja" FROM "provinces_since_the_division_of_korea" WHERE "hangul_chosongul"='๊ฐ•์›๋„' AND "capital"='wonsan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "area" text, "capital" text, "region" text, "country" text );. Question: "What is the area for the province having Hangul of ๊ฒฝ๊ธฐ๋„?". [/INST] SELECT "area" FROM "provinces_since_the_division_of_korea" WHERE "hangul_chosongul"='๊ฒฝ๊ธฐ๋„';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "provinces_since_the_division_of_korea" ( "rr_romaja" text, "m_r_romaja" text, "hangul_chosongul" text, "hanja" text, "area" text, "capital" text, "region" text, "country" text );. Question: "What is the M-R Romaja for the province having a capital of Cheongju?". [/INST] SELECT "m_r_romaja" FROM "provinces_since_the_division_of_korea" WHERE "capital"='cheongju';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "points" ( "rank" real, "name" text, "team" text, "games" real, "points" real );. Question: "What is the highest game that has 32 points and a team rank larger than 4 named montepaschi siena". [/INST] SELECT MAX("games") FROM "points" WHERE "points"=32 AND "team"='montepaschi siena' 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 "tallest_completed_buildings" ( "rank" real, "name" text, "built" real, "height" text, "floors" real );. Question: "What is the lowest Built, when Floors is greater than 23, and when Rank is 3?". [/INST] SELECT MIN("built") FROM "tallest_completed_buildings" WHERE "floors">23 AND "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 "tallest_completed_buildings" ( "rank" real, "name" text, "built" real, "height" text, "floors" real );. Question: "What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)?". [/INST] SELECT "height" FROM "tallest_completed_buildings" WHERE "rank"<20 AND "floors">9 AND "built"=2005 AND "name"='the edge (c)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "tallest_completed_buildings" ( "rank" real, "name" text, "built" real, "height" text, "floors" real );. Question: "What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3?". [/INST] SELECT MIN("floors") FROM "tallest_completed_buildings" WHERE "built">1970 AND "name"='nv building 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 "tallest_completed_buildings" ( "rank" real, "name" text, "built" real, "height" text, "floors" real );. Question: "What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?". [/INST] SELECT COUNT("built") FROM "tallest_completed_buildings" WHERE "floors"<22 AND "rank"<8 AND "name"='white, mediacityuk';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "What is the height of the player from Las Vegas, NV?". [/INST] SELECT "height" FROM "roster" WHERE "home_town"='las vegas, nv';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "What is the name of the guard from Cary, NC?". [/INST] SELECT "name" FROM "roster" WHERE "position"='guard' AND "home_town"='cary, nc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "In what year of school is the forward Iman McFarland?". [/INST] SELECT "year" FROM "roster" WHERE "position"='forward' AND "name"='iman mcfarland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "How tall is the freshman guard Cetera Degraffenreid?". [/INST] SELECT "height" FROM "roster" WHERE "position"='guard' AND "year"='freshman' AND "name"='cetera degraffenreid';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "What position does the 5-8 player from Grottoes, VA play?". [/INST] SELECT "position" FROM "roster" WHERE "height"='5-8' AND "home_town"='grottoes, va';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "roster" ( "name" text, "height" text, "position" text, "year" text, "home_town" text );. Question: "In what year of school is the player from Fayetteville, NC?". [/INST] SELECT "year" FROM "roster" WHERE "home_town"='fayetteville, nc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the Team with a game of more than 56, and the score is l 85โ€“90 (ot)?". [/INST] SELECT "team" FROM "game_log" WHERE "game">56 AND "score"='l 85โ€“90 (ot)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );. Question: "What is the Record when the high rebounds was Antonio Davis (9)?". [/INST] SELECT "record" FROM "game_log" WHERE "high_rebounds"='antonio davis (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 "by_season" ( "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text );. Question: "What is the home score with marek dupnitsa as opponent?". [/INST] SELECT "home" FROM "by_season" WHERE "opponent"='marek dupnitsa';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What is the Label of the B0011141-01 Catalog?". [/INST] SELECT "label" FROM "release_history" WHERE "catalog"='b0011141-01';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What is the Label of the UICI-1069 Catalog?". [/INST] SELECT "label" FROM "release_history" WHERE "catalog"='uici-1069';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );. Question: "What is the Region of the 1766390 Catalog?". [/INST] SELECT "region" FROM "release_history" WHERE "catalog"='1766390';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );. Question: "What School/Club did Dominique Wilkins play for?". [/INST] SELECT "school_club_team" FROM "w" WHERE "player"='dominique wilkins';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );. Question: "What is the outcome of the 4โ€“6, 6โ€“4, 6โ€“3, 7โ€“6 (7โ€“2) score?". [/INST] SELECT "outcome" FROM "grand_slam_tournament_performance_timeli" WHERE "score"='4โ€“6, 6โ€“4, 6โ€“3, 7โ€“6 (7โ€“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 "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );. Question: "What is the outcome of the match with Roger Federer as the opponent?". [/INST] SELECT "outcome" FROM "grand_slam_tournament_performance_timeli" WHERE "opponent"='roger federer';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_slam_tournament_performance_timeli" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );. Question: "What surface was the Australian Open (1) played on?". [/INST] SELECT "surface" FROM "grand_slam_tournament_performance_timeli" WHERE "championship"='australian open (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 "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );. Question: "What is the Rank of the player with 362 Matches?". [/INST] SELECT MAX("rank") FROM "list_of_top_association_football_goal_sc" WHERE "matches"=362;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );. Question: "What is the Rank of the player with 158 Goals in more than 362 Matches?". [/INST] SELECT COUNT("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals"=158 AND "matches">362;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "lpf_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );. Question: "What is the sum of drawn that has a played more than 12?". [/INST] SELECT COUNT("drawn") FROM "lpf_s_campeonato_paulista" WHERE "played">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 "lpf_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );. Question: "What difference has a points greater than 10, and a drawn less than 2?". [/INST] SELECT "difference" FROM "lpf_s_campeonato_paulista" WHERE "points">10 AND "drawn"<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 "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );. Question: "What is the Result of the game with 72,949 in attendance?". [/INST] SELECT "result" FROM "schedule" WHERE "attendance"='72,949';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text );. Question: "What is the Attendance for a Week earlier than 16, and a Date of bye?". [/INST] SELECT "attendance" FROM "schedule" WHERE "week"<16 AND "date"='bye';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" text );. Question: "What is the Result of the game against the Indianapolis Colts?". [/INST] SELECT "result" FROM "schedule" WHERE "opponent"='indianapolis colts';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );. Question: "Which song has more than 66 points, a draw greater than 3, and is ranked 3rd?". [/INST] SELECT "song" FROM "references" WHERE "points">66 AND "draw">3 AND "rank"='3rd';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );. Question: "What is the lowest points when the ranking is 1st?". [/INST] SELECT MIN("points") FROM "references" WHERE "rank"='1st';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );. Question: "What is the average number of points when the ranking is 7th and the draw is less than 4?". [/INST] SELECT AVG("points") FROM "references" WHERE "rank"='7th' AND "draw"<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 "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );. Question: "What is the total number of points of the honda hr-1 engine?". [/INST] SELECT COUNT("points") FROM "cart" WHERE "engine"='honda hr-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 "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );. Question: "What is the rank of the reynard 2ki chassis before 2002?". [/INST] SELECT "rank" FROM "cart" WHERE "year"<2002 AND "chassis"='reynard 2ki';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "Who was the home team on April 13, 2008 when Itabuna was the away team?". [/INST] SELECT "home_team" FROM "first_three_matches" WHERE "date"='april 13, 2008' AND "away_team"='itabuna';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "What is the name of the home team with a round of 2nd and Vitรณria da Conquista as the way team?". [/INST] SELECT "home_team" FROM "first_three_matches" WHERE "round"='2nd' AND "away_team"='vitรณria da conquista';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "What is the name of the home team on April 13, 2008 when Itabuna was the away team?". [/INST] SELECT "home_team" FROM "first_three_matches" WHERE "date"='april 13, 2008' AND "away_team"='itabuna';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "What home team has a score of 5 - 5?". [/INST] SELECT "home_team" FROM "first_three_matches" WHERE "score"='5 - 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "On which date was the score 0 - 0?". [/INST] SELECT "date" FROM "first_three_matches" WHERE "score"='0 - 0';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_three_matches" ( "round" text, "date" text, "home_team" text, "score" text, "away_team" text );. Question: "Who played as the home team when Vitรณria was the away team?". [/INST] SELECT "home_team" FROM "first_three_matches" WHERE "away_team"='vitรณria';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );. Question: "What grid is the lowest when the time/retired is + 5 laps and the laps is less than 161?". [/INST] SELECT MIN("grid") FROM "race" WHERE "time_retired"='+ 5 laps' AND "laps"<161;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );. Question: "What is the biggest points when the grid is less than 13 and the time/retired is +7.538 secs?". [/INST] SELECT MAX("points") FROM "race" WHERE "grid"<13 AND "time_retired"='+7.538 secs';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );. Question: "Driver Ricardo Sperafico has what as his average laps?". [/INST] SELECT AVG("laps") FROM "race" WHERE "driver"='ricardo sperafico';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );. Question: "What is the name of the driver with 6 points?". [/INST] SELECT "driver" FROM "race" WHERE "points"=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 "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );. Question: "What is the average points that the driver Ryan Hunter-Reay has?". [/INST] SELECT AVG("points") FROM "race" WHERE "driver"='ryan hunter-reay';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What shows for 2006, when 2013 is 2โ€“4?". [/INST] SELECT "2006" FROM "doubles_performance_timeline" WHERE "2013"='2โ€“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 "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What shows for 2013 when the 2012 is 2r, and a 2009 is 2r?". [/INST] SELECT "2013" FROM "doubles_performance_timeline" WHERE "2012"='2r' AND "2009"='2r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What is the 2006 when the 2013 is 1r, and the 2012 is 1r?". [/INST] SELECT "2006" FROM "doubles_performance_timeline" WHERE "2013"='1r' AND "2012"='1r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What is the 2006 when the 2013 is 2r, and a Tournament was the us open?". [/INST] SELECT "2006" FROM "doubles_performance_timeline" WHERE "2013"='2r' AND "tournament"='us open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What is the Tournament when the 2013 is 2r, and a 2006 is 1r?". [/INST] SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2013"='2r' AND "2006"='1r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2006" text, "2009" text, "2012" text, "2013" text );. Question: "What is the Tournament when the 2013 is 1r?". [/INST] SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2013"='1r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" text );. Question: "When in 2008 that has a 2007 of f?". [/INST] SELECT "2008" FROM "grand_slam_tournament_performance_timeli" WHERE "2007"='f';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "grand_slam_tournament_performance_timeli" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" text );. Question: "Which Tournament has a 2007 of 19โ€“4?". [/INST] SELECT "tournament" FROM "grand_slam_tournament_performance_timeli" WHERE "2007"='19โ€“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 "grand_slam_tournament_performance_timeli" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text, "win_pct" text );. Question: "WHat in 2005 has a Win % of 82.61?". [/INST] SELECT "2005" FROM "grand_slam_tournament_performance_timeli" WHERE "win_pct"='82.61';</s>