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 "g" ( "name" text, "position" text, "period" text, "appearances" real, "goals" real, "nationality" text );. Question: "If the name is Patrick Grappin, what is the nationality?". [/INST] SELECT "nationality" FROM "g" WHERE "name"='Patrick Grappin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "period" text, "appearances" real, "goals" real, "nationality" text );. Question: "What is the period total number if the name is Geraldão?". [/INST] SELECT COUNT("period") FROM "g" WHERE "name"='Geraldão';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "g" ( "name" text, "position" text, "period" text, "appearances" real, "goals" real, "nationality" text );. Question: "What is the nationality if the appearance is 29?". [/INST] SELECT "nationality" FROM "g" WHERE "appearances"=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 "year_by_year" ( "season" real, "regular_season" text, "playoffs" text, "u_s_open_cup" text, "concacaf" text, "mls_regular_season_record" text );. Question: "Name the concacaf for 2010 season". [/INST] SELECT "concacaf" FROM "year_by_year" WHERE "season"=2010;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "season" real, "regular_season" text, "playoffs" text, "u_s_open_cup" text, "concacaf" text, "mls_regular_season_record" text );. Question: "Name the least season for round of 32". [/INST] SELECT MIN("season") FROM "year_by_year" WHERE "u_s_open_cup"='Round of 32';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "season" real, "regular_season" text, "playoffs" text, "u_s_open_cup" text, "concacaf" text, "mls_regular_season_record" text );. Question: "Name the number of playoffs for semifinals". [/INST] SELECT COUNT("playoffs") FROM "year_by_year" WHERE "concacaf"='Semifinals';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "podiums" real, "points" text, "position" text );. Question: "Name the number of season for 18th position". [/INST] SELECT COUNT("season") FROM "career_summary" WHERE "position"='18th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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, "podiums" real, "points" text, "position" text );. Question: "Name the least wins". [/INST] SELECT MIN("wins") FROM "career_summary";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2461720_1" ( "theatre_name" text, "digital_screens" real, "imax_screens" real, "location" text, "language_of_films" text );. Question: "Name the total number of language of films for méga-plex taschereau imax". [/INST] SELECT COUNT("language_of_films") FROM "table1_2461720_1" WHERE "theatre_name"='Méga-Plex Taschereau IMAX';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2461720_1" ( "theatre_name" text, "digital_screens" real, "imax_screens" real, "location" text, "language_of_films" text );. Question: "Name the theatre name for french". [/INST] SELECT "theatre_name" FROM "table1_2461720_1" WHERE "language_of_films"='French';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2461720_1" ( "theatre_name" text, "digital_screens" real, "imax_screens" real, "location" text, "language_of_films" text );. Question: "Name the location for democratic méga-plex taschereau imax". [/INST] SELECT "location" FROM "table1_2461720_1" WHERE "theatre_name"='Méga-Plex Taschereau IMAX';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24625467_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "Who directed "hey now hey now perry'S girlfriend's back"?". [/INST] SELECT "directed_by" FROM "table1_24625467_1" WHERE "title"='\"Hey Now Hey Now Perry''s Girlfriend''s Back\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24625467_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "How many dates did "Rebecca's one night stand" originally air on?". [/INST] SELECT COUNT("original_air_date") FROM "table1_24625467_1" WHERE "title"='\"Rebecca''s One Night Stand\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24625467_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "What episode number has 2j5352 as a production code?". [/INST] SELECT "no" FROM "table1_24625467_1" WHERE "production_code"='2J5352';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24625467_1" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );. Question: "What date did the episode with a production code of 2j5356 originally air?". [/INST] SELECT "original_air_date" FROM "table1_24625467_1" WHERE "production_code"='2J5356';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "world_championships" ( "year" real, "location" text, "entries" real, "winning_boat" text, "country" text, "skipper" text );. Question: "When 2012 is the year what is the winning boat?". [/INST] SELECT "winning_boat" FROM "world_championships" WHERE "year"=2012;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "world_championships" ( "year" real, "location" text, "entries" real, "winning_boat" text, "country" text, "skipper" text );. Question: "When 64 is the entries what is the winning boat?". [/INST] SELECT "winning_boat" FROM "world_championships" WHERE "entries"=64;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "world_championships" ( "year" real, "location" text, "entries" real, "winning_boat" text, "country" text, "skipper" text );. Question: "When 61 is the entries what is the winning boat?". [/INST] SELECT "winning_boat" FROM "world_championships" WHERE "entries"=61;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the name of the episode that aired originally on October 18, 1991?". [/INST] SELECT "title" FROM "table1_2468961_2" WHERE "original_air_date"='October 18, 1991';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What is the name of the episode written by Ross Brown?". [/INST] SELECT "title" FROM "table1_2468961_2" WHERE "written_by"='Ross Brown';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What episode number in the series originally aired on February 28, 1992?". [/INST] SELECT MIN("no_in_series") FROM "table1_2468961_2" WHERE "original_air_date"='February 28, 1992';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What date did the episode with a production code of 447004 originally air?". [/INST] SELECT "original_air_date" FROM "table1_2468961_2" WHERE "production_code"=447004;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "How many episodes were written by Ross brown?". [/INST] SELECT COUNT("no_in_series") FROM "table1_2468961_2" WHERE "written_by"='Ross Brown';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What number in the series was episode 2 in the season?". [/INST] SELECT MAX("no_in_series") FROM "table1_2468961_3" WHERE "no_in_season"=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 "table1_2468961_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?". [/INST] SELECT "title" FROM "table1_2468961_3" WHERE "written_by"='Bob Rosenfarb' AND "directed_by"='Richard Correll';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_2468961_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );. Question: "What was the original air date of "The Boss"?". [/INST] SELECT "original_air_date" FROM "table1_2468961_3" WHERE "title"='\"The Boss\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24697604_1" ( "university" text, "location" text, "year_founded" real, "qs_world_university_rankings_2012" real, "times_higher_education_world_university_rankings_2012_2013" text );. Question: "What is the QS World ranking of the school with the Times ranking 251-275?". [/INST] SELECT MAX("qs_world_university_rankings_2012") FROM "table1_24697604_1" WHERE "times_higher_education_world_university_rankings_2012_2013"='251-275';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24697604_1" ( "university" text, "location" text, "year_founded" real, "qs_world_university_rankings_2012" real, "times_higher_education_world_university_rankings_2012_2013" text );. Question: "What university was founded in 1898?". [/INST] SELECT "university" FROM "table1_24697604_1" WHERE "year_founded"=1898;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "match_attendance" ( "venue" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" text, "up_down" text );. Question: "What is the maximum average associated with a total of 221902?". [/INST] SELECT MAX("average") FROM "match_attendance" WHERE "total"=221902;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "match_attendance" ( "venue" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" text, "up_down" text );. Question: "How many values of hosted have a highest value of 42659?". [/INST] SELECT COUNT("hosted") FROM "match_attendance" WHERE "highest"=42659;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "match_attendance" ( "venue" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" text, "up_down" text );. Question: "How many values of up/down have a total value of exactly 301470?". [/INST] SELECT COUNT("up_down") FROM "match_attendance" WHERE "total"=301470;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "match_attendance" ( "venue" text, "hosted" real, "average" real, "highest" real, "lowest" real, "total" real, "last_year" text, "up_down" text );. Question: "What is the up/down associated with the Subiaco Oval?". [/INST] SELECT "up_down" FROM "match_attendance" WHERE "venue"='Subiaco Oval';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );. Question: "What team was ranked in 7th?". [/INST] SELECT "team" FROM "2009" WHERE "rank"='7th';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );. Question: "Which player had an opponent of Blackburn Rovers?". [/INST] SELECT "player" FROM "2009" WHERE "opponent"='Blackburn Rovers';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );. Question: "What was the score for the 1st ranked team?". [/INST] SELECT "score" FROM "2009" 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 "2009" ( "rank" text, "player" text, "nationality" text, "team" text, "opponent" text, "score" text, "competition" text, "vote_percentage" text );. Question: "What was the name of the player that had a vote percentage of 7.85%?". [/INST] SELECT "player" FROM "2009" WHERE "vote_percentage"='7.85%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24798489_1" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );. Question: "What is the original airdate of the episode where the challenge was three overstuffed sandwiches? ". [/INST] SELECT "original_airdate" FROM "table1_24798489_1" WHERE "challenge"='Three overstuffed sandwiches';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24798489_1" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );. Question: "Who was the challenge winner in the episode that originally aired on January 28, 2009?". [/INST] SELECT "challenge_winner" FROM "table1_24798489_1" WHERE "original_airdate"='January 28, 2009';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24798489_1" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );. Question: "What is the original airdate of the episode where the challenge is "Southwestern Exposure", a twelve-egg omelette"?". [/INST] SELECT "original_airdate" FROM "table1_24798489_1" WHERE "challenge"='\"Southwestern Exposure\", a twelve-egg omelette';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24798489_1" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );. Question: "How many episodes had New York, New York as the location?". [/INST] SELECT COUNT("episode_number") FROM "table1_24798489_1" WHERE "location"='New York, New York';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24798489_1" ( "episode_number" real, "location" text, "original_airdate" text, "challenge_winner" text, "challenge" text );. Question: "What is the original airdate of the episode where the challenge is a "7-pound monster breakfast burrito"?". [/INST] SELECT "original_airdate" FROM "table1_24798489_1" WHERE "challenge"='\"7-pound monster breakfast burrito\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What were the shots below par when the winning score was 67-64-63-71-66=331?". [/INST] SELECT "to_par" FROM "pga_tour_wins_16" WHERE "winning_score"='67-64-63-71-66=331';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What were the shots below par when the winning score was 69-66-69-64=268?". [/INST] SELECT "to_par" FROM "pga_tour_wins_16" WHERE "winning_score"='69-66-69-64=268';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What is the total number of to par when runner-up was Jonathan Kaye?". [/INST] SELECT COUNT("to_par") FROM "pga_tour_wins_16" WHERE "runner_s_up"='Jonathan Kaye';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the margin of victory when runner-up was K. J. Choi?". [/INST] SELECT "margin_of_victory" FROM "pga_tour_wins_16" WHERE "runner_s_up"='K. J. Choi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pga_tour_wins_16" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text );. Question: "What was the date for no. 7?". [/INST] SELECT "date" FROM "pga_tour_wins_16" WHERE "no"=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 "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3" real, "round4" real, "total_points" real );. Question: "Which team had 342 total points? ". [/INST] SELECT "team" FROM "overall_team_standings" WHERE "total_points"=342;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3" real, "round4" real, "total_points" real );. Question: "How many points did the team who had 325 total points have in round 3? ". [/INST] SELECT "round3" FROM "overall_team_standings" WHERE "total_points"=325;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3" real, "round4" real, "total_points" real );. Question: "What is the most amount of points any team had in round 4? ". [/INST] SELECT MAX("round4") FROM "overall_team_standings";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "overall_team_standings" ( "rank" real, "team" text, "round1" real, "round2" real, "round3" real, "round4" real, "total_points" real );. Question: "How many points did the team who had 132 total points have in round 1? ". [/INST] SELECT MAX("round1") FROM "overall_team_standings" WHERE "total_points"=132;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24786958_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "Who did Rhein Fire play Against where 30701 people attended?". [/INST] SELECT "opponent" FROM "table1_24786958_2" WHERE "attendance"=30701;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24786958_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "What week had kickoff time at 6:00 p.m.?". [/INST] SELECT MIN("week") FROM "table1_24786958_2" WHERE "kickoff"='6:00 p.m.';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24786958_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "Where was the game played that was on Sunday, May 27?". [/INST] SELECT "game_site" FROM "table1_24786958_2" WHERE "date"='Sunday, May 27';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24786958_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "How many people attended the game at Jahn-sportpark?". [/INST] SELECT MIN("attendance") FROM "table1_24786958_2" WHERE "game_site"='Jahn-Sportpark';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24786958_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "How many final scores were there on the game at Amsterdam arena?". [/INST] SELECT COUNT("final_score") FROM "table1_24786958_2" WHERE "game_site"='Amsterdam ArenA';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight" text, "jockey" text, "winner_2nd" text );. Question: "What was the group in the British Champion Stakes? ". [/INST] SELECT "group" FROM "2011_season_as_a_five_year_old" WHERE "race"='British Champion Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight" text, "jockey" text, "winner_2nd" text );. Question: "What was the weight of the jockey at Sandown Park? ". [/INST] SELECT "weight" FROM "2011_season_as_a_five_year_old" WHERE "venue"='Sandown Park';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight" text, "jockey" text, "winner_2nd" text );. Question: "What is the distance of the Mooresbridge Stakes race? ". [/INST] SELECT "distance" FROM "2011_season_as_a_five_year_old" WHERE "race"='Mooresbridge Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_season_as_a_five_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight" text, "jockey" text, "winner_2nd" text );. Question: "who was the winner /2nd for the British Champion Stakes race? ". [/INST] SELECT "winner_2nd" FROM "2011_season_as_a_five_year_old" WHERE "race"='British Champion Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2010_11_season_as_a_four_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" text, "jockey" text, "winner_2nd" text );. Question: "The MacKinnon Stakes races took place on how many venues?". [/INST] SELECT COUNT("venue") FROM "2010_11_season_as_a_four_year_old" WHERE "race"='Mackinnon Stakes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rating_drama_series_of_2010" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );. Question: "What is the largest average for the episode with 1.97 million Hong Kong viewers?". [/INST] SELECT MAX("average") FROM "highest_rating_drama_series_of_2010" WHERE "hk_viewers"='1.97 million';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rating_drama_series_of_2010" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );. Question: "What is the English title of the episode with 1.92 million Hong Kong viewers?". [/INST] SELECT "english_title" FROM "highest_rating_drama_series_of_2010" WHERE "hk_viewers"='1.92 million';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rating_drama_series_of_2010" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );. Question: "What is the English name of the episode with 1.92 million HK viewers?". [/INST] SELECT "english_title" FROM "highest_rating_drama_series_of_2010" WHERE "hk_viewers"='1.92 million';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rating_drama_series_of_2010" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );. Question: "What is the premiere number for the episode titled "The Mysteries of Love" in English?". [/INST] SELECT MAX("premiere") FROM "highest_rating_drama_series_of_2010" WHERE "english_title"='The Mysteries of Love';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_rating_drama_series_of_2010" ( "rank" real, "english_title" text, "chinese_title" text, "average" real, "peak" real, "premiere" real, "finale" real, "hk_viewers" text );. Question: "What is the Chinese name of the episode with 1.97 million Hong Kong viewers?". [/INST] SELECT "chinese_title" FROM "highest_rating_drama_series_of_2010" WHERE "hk_viewers"='1.97 million';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score_1" text, "away_team" text, "attendance" real, "date" text );. Question: "Who was the home team when the away team was fulham?". [/INST] SELECT "home_team" FROM "replays" WHERE "away_team"='Fulham';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score_1" text, "away_team" text, "attendance" real, "date" text );. Question: "What was the attendance of the game where Stoke city was the away team?". [/INST] SELECT MIN("attendance") FROM "replays" WHERE "away_team"='Stoke 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 "replays" ( "tie_no" real, "home_team" text, "score_1" text, "away_team" text, "attendance" real, "date" text );. Question: "When the away team is Millwall, what is the total possible amount of tie numbers?". [/INST] SELECT COUNT("tie_no") FROM "replays" WHERE "away_team"='Millwall';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "replays" ( "tie_no" real, "home_team" text, "score_1" text, "away_team" text, "attendance" real, "date" text );. Question: "What is the date of the game played with Birmingham City as the away team?". [/INST] SELECT "date" FROM "replays" WHERE "away_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 "table1_24910742_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "Who directed the episode entitled "Shotgun"?". [/INST] SELECT "directed_by" FROM "table1_24910742_1" WHERE "title"='\"Shotgun\"';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24910742_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What was the airdate of episode number 18?". [/INST] SELECT "original_air_date" FROM "table1_24910742_1" WHERE "no_in_season"=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 "table1_24910742_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );. Question: "What was the title of the episode having exactly 9.64 million US viewers?". [/INST] SELECT "title" FROM "table1_24910742_1" WHERE "u_s_viewers_millions"='9.64';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "For which jockey was the weight in kg 53.5? ". [/INST] SELECT "jockey" FROM "participating_horses" WHERE "weight_kg"='53.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 "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "Who was the trainer when the jockey was Luke Nolen?". [/INST] SELECT "trainer" FROM "participating_horses" WHERE "jockey"='Luke Nolen';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "What was the placing when the jockey was Damien Oliver?". [/INST] SELECT "placing" FROM "participating_horses" WHERE "jockey"='Damien Oliver';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "What was the placing when the weight in kg was 58.0?". [/INST] SELECT "placing" FROM "participating_horses" WHERE "weight_kg"='58.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 "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "Who was the horse when the jockey was Peter Wells? ". [/INST] SELECT "horse" FROM "participating_horses" WHERE "jockey"='Peter Wells';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "participating_horses" ( "saddle_cloth" real, "horse" text, "trainer" text, "jockey" text, "weight_kg" text, "barrier_b" real, "placing" text );. Question: "What was the weight in kg when the horse was Alcopop? ". [/INST] SELECT "weight_kg" FROM "participating_horses" WHERE "horse"='Alcopop';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24918268_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "How many weeks are teams playing agains the Barcelona dragons?". [/INST] SELECT COUNT("week") FROM "table1_24918268_2" WHERE "opponent"='Barcelona Dragons';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24918268_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "What was the score for the game that kicked off at 6:00 p.m.?". [/INST] SELECT "final_score" FROM "table1_24918268_2" WHERE "kickoff"='6:00 p.m.';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_24918268_2" ( "week" real, "date" text, "kickoff" text, "opponent" text, "final_score" text, "team_record" text, "game_site" text, "attendance" real );. Question: "Who are the opponents for games on Sunday, June 9?". [/INST] SELECT "opponent" FROM "table1_24918268_2" WHERE "date"='Sunday, June 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 "see_also" ( "butter" text, "calories_1_tbsp" real, "protein_g" text, "fat_g" text, "calcium_mg" text, "zinc_mg" text );. Question: "Name the fat for protein being 4 and calories 80". [/INST] SELECT "fat_g" FROM "see_also" WHERE "protein_g"='4' AND "calories_1_tbsp"=80;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "butter" text, "calories_1_tbsp" real, "protein_g" text, "fat_g" text, "calcium_mg" text, "zinc_mg" text );. Question: "Name the number of butters for 3 protein". [/INST] SELECT COUNT("butter") FROM "see_also" WHERE "protein_g"='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 "see_also" ( "butter" text, "calories_1_tbsp" real, "protein_g" text, "fat_g" text, "calcium_mg" text, "zinc_mg" text );. Question: "Name the calcium for fat being 6.5". [/INST] SELECT "calcium_mg" FROM "see_also" WHERE "fat_g"='6.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 "census_designated_places" ( "place_name" text, "county_ies_a" text, "population_2010" real, "land_area_2010" text, "density_2010" text );. Question: "How many counties have a place name of Macedonia?". [/INST] SELECT COUNT("county_ies_a") FROM "census_designated_places" WHERE "place_name"='Macedonia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "census_designated_places" ( "place_name" text, "county_ies_a" text, "population_2010" real, "land_area_2010" text, "density_2010" text );. Question: "What is the number of land areas that have a place name of Ballplay?". [/INST] SELECT COUNT("land_area_2010") FROM "census_designated_places" WHERE "place_name"='Ballplay';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "census_designated_places" ( "place_name" text, "county_ies_a" text, "population_2010" real, "land_area_2010" text, "density_2010" text );. Question: "What is the minimum 2010 population of Edgewater?". [/INST] SELECT MIN("population_2010") FROM "census_designated_places" WHERE "place_name"='Edgewater';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ladies" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real );. Question: "What is the lowest 09-10 i/o best?". [/INST] SELECT MIN("09_10_i_o_best") FROM "ladies";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ladies" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real );. Question: "Which country is akiko suzuki from?". [/INST] SELECT "country" FROM "ladies" WHERE "name"='Akiko Suzuki';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ladies" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real );. Question: "What was the 08-09 i/o best of the player with 1386 points?". [/INST] SELECT "08_09_i_o_best" FROM "ladies" WHERE "ws_points"=1386;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "ladies" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real );. Question: "What was the 09-10 oi best of the player with 949 points?". [/INST] SELECT COUNT("09_10_oi_best") FROM "ladies" WHERE "ws_points"=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 "ladies" ( "rank" real, "ws_points" real, "name" text, "country" text, "09_10_i_o_best" real, "09_10_gp_jgp_best" real, "09_10_gp_jgp_2nd" real, "09_10_oi_best" real, "09_10_oi_2nd" real, "08_09_i_o_best" real, "08_09_gp_jgp_best" real, "08_09_gp_jgp_2nd" real, "08_09_oi_best" real, "08_09_oi_2nd" real );. Question: "Who was the player from georgia?". [/INST] SELECT "name" FROM "ladies" WHERE "country"='Georgia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_stats" ( "player" text, "minutes" real, "field_goals" real, "rebounds" real, "assists" real, "steals" real, "blocks" real, "points" real );. Question: "When tracy reid is the player what is the highest amount of minutes?". [/INST] SELECT MAX("minutes") FROM "player_stats" WHERE "player"='Tracy Reid';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_stats" ( "player" text, "minutes" real, "field_goals" real, "rebounds" real, "assists" real, "steals" real, "blocks" real, "points" real );. Question: "What is the lowest overall amount of assists?". [/INST] SELECT MIN("assists") FROM "player_stats";</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_stats" ( "player" text, "minutes" real, "field_goals" real, "rebounds" real, "assists" real, "steals" real, "blocks" real, "points" real );. Question: "When sandy brondello is the player what is the lowest amount of minutes?". [/INST] SELECT MIN("minutes") FROM "player_stats" WHERE "player"='Sandy Brondello';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "player_stats" ( "player" text, "minutes" real, "field_goals" real, "rebounds" real, "assists" real, "steals" real, "blocks" real, "points" real );. Question: "When 21 is the number of assists how many sets of blocks are there?". [/INST] SELECT COUNT("blocks") FROM "player_stats" WHERE "assists"=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 "table1_25030512_12" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "When 2010 is the first elected and Florida 7 is the district who are the candidates?". [/INST] SELECT "candidates" FROM "table1_25030512_12" WHERE "district"='Florida 7' AND "first_elected"='2010';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_25030512_12" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "When bill young redistricted from the 10th district is the incumbent what is the party?". [/INST] SELECT "party" FROM "table1_25030512_12" WHERE "incumbent"='Bill Young Redistricted from the 10th district';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_25030512_12" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "When dennis ross (r) unopposed is the candidate what is the party?". [/INST] SELECT "party" FROM "table1_25030512_12" WHERE "candidates"='Dennis Ross (R) unopposed';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "table1_25030512_12" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text, "candidates" text );. Question: "When none (new seat) is the first elected who are the candidates?". [/INST] SELECT "candidates" FROM "table1_25030512_12" WHERE "first_elected"='None (New seat)';</s>