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 "the_21_peaks_of_the_elk_mountains_with_a" ( "rank" real, "mountain_peak" text, "subrange" text, "elevation" text, "prominence" text, "isolation" text );. Question: "Name the Rank of Rank Mountain Peak of crested butte pb?". [/INST] SELECT "rank" FROM "the_21_peaks_of_the_elk_mountains_with_a" WHERE "mountain_peak"='crested butte pb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "the_21_peaks_of_the_elk_mountains_with_a" ( "rank" real, "mountain_peak" text, "subrange" text, "elevation" text, "prominence" text, "isolation" text );. Question: "Name the Prominence of the Mountain Peak of matchless mountain pb?". [/INST] SELECT "prominence" FROM "the_21_peaks_of_the_elk_mountains_with_a" WHERE "mountain_peak"='matchless mountain pb';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2002_broadway_revival" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text );. Question: "What year was Mary Elizabeth Mastrantonio nominated?". [/INST] SELECT "year" FROM "2002_broadway_revival" WHERE "nominee"='mary elizabeth mastrantonio';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2002_broadway_revival" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text );. Question: "What was the result for the nomination of Best Revival of a Musical?". [/INST] SELECT "result" FROM "2002_broadway_revival" WHERE "category"='best revival of a musical';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women_s_nanquan_nandao_combined" ( "rank" real, "athlete" text, "nandao" real, "nanquan" real, "total" real );. Question: "Which Nanquan has a Nandao larger than 9.49, and a Rank of 4?". [/INST] SELECT "nanquan" FROM "women_s_nanquan_nandao_combined" WHERE "nandao">9.49 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 "women_s_nanquan_nandao_combined" ( "rank" real, "athlete" text, "nandao" real, "nanquan" real, "total" real );. Question: "Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68?". [/INST] SELECT MIN("nanquan") FROM "women_s_nanquan_nandao_combined" WHERE "nandao"<9.44 AND "rank"<9 AND "total">18.68;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "competitions" ( "week" real, "event" text, "air_date" text, "winning_team" text, "winners_club" text );. Question: "How many weeks have a Winning team of yellow team, and an Event of foos it or lose it?". [/INST] SELECT SUM("week") FROM "competitions" WHERE "winning_team"='yellow team' AND "event"='foos it or lose it';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "competitions" ( "week" real, "event" text, "air_date" text, "winning_team" text, "winners_club" text );. Question: "Which Week has an Air Date of august 2, 2008?". [/INST] SELECT "week" FROM "competitions" WHERE "air_date"='august 2, 2008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "competitions" ( "week" real, "event" text, "air_date" text, "winning_team" text, "winners_club" text );. Question: "Which Week has an Air Date of august 30, 2008?". [/INST] SELECT "week" FROM "competitions" WHERE "air_date"='august 30, 2008';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "competitions" ( "week" real, "event" text, "air_date" text, "winning_team" text, "winners_club" text );. Question: "Which Winners club has a Week of 4.5?". [/INST] SELECT "winners_club" FROM "competitions" WHERE "week"=4.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 "competitions" ( "week" real, "event" text, "air_date" text, "winning_team" text, "winners_club" text );. Question: "Which Winners club has an Event of hang tight?". [/INST] SELECT "winners_club" FROM "competitions" WHERE "event"='hang tight';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "on what date was tie number 4?". [/INST] SELECT "date" FROM "first_round_proper" WHERE "tie_no"='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 "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "minehead has what tie number?". [/INST] SELECT "tie_no" FROM "first_round_proper" WHERE "home_team"='minehead';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "what is enfield's tie number?". [/INST] SELECT "tie_no" FROM "first_round_proper" WHERE "home_team"='enfield';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "programs_returning_in_2009" ( "show" text, "network_last_aired" text, "last_aired" real, "network_new_returning" text, "returning" text );. Question: "What show was played on ABC laster after 2002?". [/INST] SELECT "show" FROM "programs_returning_in_2009" WHERE "network_last_aired"='abc' AND "last_aired">2002;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "programs_returning_in_2009" ( "show" text, "network_last_aired" text, "last_aired" real, "network_new_returning" text, "returning" text );. Question: "When did soul train music awards return?". [/INST] SELECT "returning" FROM "programs_returning_in_2009" WHERE "show"='soul train music awards';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "programs_returning_in_2009" ( "show" text, "network_last_aired" text, "last_aired" real, "network_new_returning" text, "returning" text );. Question: "When did a show last aired in 2002 return?". [/INST] SELECT "returning" FROM "programs_returning_in_2009" WHERE "last_aired"=2002;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "city" text, "venue" text, "capacity" real, "head_coach" text, "team_captain" text, "past_season" text );. Question: "What Venue has a Past Season of 2nd?". [/INST] SELECT "venue" FROM "teams" WHERE "past_season"='2nd';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "city" text, "venue" text, "capacity" real, "head_coach" text, "team_captain" text, "past_season" text );. Question: "What is the Capacity of the Venue of Head Coach Ali Asghar Modir Roosta?". [/INST] SELECT MAX("capacity") FROM "teams" WHERE "head_coach"='ali asghar modir roosta';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "team" text, "city" text, "venue" text, "capacity" real, "head_coach" text, "team_captain" text, "past_season" text );. Question: "What is the Capacity of the Venue of Head Coach Farhad Kazemi?". [/INST] SELECT SUM("capacity") FROM "teams" WHERE "head_coach"='farhad kazemi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );. Question: "How much Played has an Average smaller than 0.9390000000000001, and a 1990-91 of 28?". [/INST] SELECT COUNT("played") FROM "relegation" WHERE "average"<0.9390000000000001 AND "1990_91"='28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );. Question: "How much 1991-1992 has a 1989-90 of 36, and an Average of 0.8250000000000001?". [/INST] SELECT COUNT("1991_1992") FROM "relegation" WHERE "1989_90"='36' AND "average"=0.8250000000000001;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );. Question: "How much Average has a 1989-90 of 36, and a Team of talleres de córdoba, and a Played smaller than 114?". [/INST] SELECT COUNT("average") FROM "relegation" WHERE "1989_90"='36' AND "team"='talleres de córdoba' AND "played"<114;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );. Question: "How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points?". [/INST] SELECT COUNT("1991_1992") FROM "relegation" WHERE "team"='gimnasia de la plata' AND "points">113;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );. Question: "What role did Pick # 10 have?". [/INST] SELECT "role" FROM "selections" WHERE "pick_num"=10;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );. Question: "What is the real name of the male wrestler from Raw with a pick # smaller than 6?". [/INST] SELECT "employee_real_name" FROM "selections" WHERE "pick_num"<6 AND "brand_from"='raw' AND "role"='male wrestler';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );. Question: "Pick # 3 works for which brand?". [/INST] SELECT "brand_from" FROM "selections" WHERE "pick_num"=3;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "selections" ( "pick_num" real, "brand_to" text, "employee_real_name" text, "role" text, "brand_from" text );. Question: "What is the real name of the Pick # that is greater than 9?". [/INST] SELECT "employee_real_name" FROM "selections" WHERE "pick_num">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 "awards" ( "year" real, "title" text, "director" text, "survey" text, "result" text );. Question: "Who is the director with the Min Dally Nseek title, and won?". [/INST] SELECT "director" FROM "awards" WHERE "title"='min dally nseek' AND "result"='won';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "awards" ( "year" real, "title" text, "director" text, "survey" text, "result" text );. Question: "What survey has the Ehsas Jdeed title?". [/INST] SELECT "survey" FROM "awards" WHERE "title"='ehsas jdeed';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "awards" ( "year" real, "title" text, "director" text, "survey" text, "result" text );. Question: "What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated?". [/INST] SELECT "title" FROM "awards" WHERE "survey"='murex d''or' AND "year">2005 AND "director"='said elmarouk' AND "result"='nominated';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "awards" ( "year" real, "title" text, "director" text, "survey" text, "result" text );. Question: "What is the result for director Said Elmarouk before 2008?". [/INST] SELECT "result" FROM "awards" WHERE "director"='said elmarouk' AND "year"<2008;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "What is the week 1 with candice hunnicutt in week 3?". [/INST] SELECT "week_1" FROM "2009" WHERE "week_3"='candice hunnicutt';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "What is the week 2 with daniella mugnolo in week 1?". [/INST] SELECT "week_2" FROM "2009" WHERE "week_1"='daniella mugnolo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );. Question: "What is the week 3 with addison miller in week 2?". [/INST] SELECT "week_3" FROM "2009" WHERE "week_2"='addison miller';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "kentucky" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );. Question: "In what year was the republican incumbent from Kentucky 2 district first elected?". [/INST] SELECT SUM("first_elected") FROM "kentucky" WHERE "party"='republican' AND "district"='kentucky 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 "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "What is the average played for entries with fewer than 65 goals against, points 1 of 19 2, and a position higher than 15?". [/INST] SELECT AVG("played") FROM "third_division_final_table" WHERE "position"<15 AND "points_1"='19 2' AND "goals_against"<65;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "What is the lowest drawn for entries with a lost of 13?". [/INST] SELECT MIN("drawn") FROM "third_division_final_table" WHERE "lost"=13;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "For entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn?". [/INST] SELECT AVG("drawn") FROM "third_division_final_table" WHERE "points_1"='33' AND "goals_against"=45 AND "played"<28;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "For entries with lost larger than 21 and goals for smaller than 36, what is the average drawn?". [/INST] SELECT AVG("drawn") FROM "third_division_final_table" WHERE "goals_for"<36 AND "lost">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 "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "What is the highest goals entry with drawn larger than 6 and goals against 85?". [/INST] SELECT MAX("goals_for") FROM "third_division_final_table" WHERE "goals_against"=85 AND "drawn">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 "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the To Par of Fredrik Jacobson?". [/INST] SELECT "to_par" FROM "final_round" WHERE "player"='fredrik jacobson';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the Place of Davis Love III with a To Par of +1?". [/INST] SELECT "place" FROM "final_round" WHERE "to_par"='+1' AND "player"='davis love 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 "most_consecutive_wins_from_entry_into_su" ( "name" text, "wins" real, "start" text, "duration" text, "defeated_by" text );. Question: "Which Start has a Duration of 6 months 2 days?". [/INST] SELECT "start" FROM "most_consecutive_wins_from_entry_into_su" WHERE "duration"='6 months 2 days';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_consecutive_wins_from_entry_into_su" ( "name" text, "wins" real, "start" text, "duration" text, "defeated_by" text );. Question: "Which duration was defeated by retired?". [/INST] SELECT "duration" FROM "most_consecutive_wins_from_entry_into_su" WHERE "defeated_by"='retired';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "most_consecutive_wins_from_entry_into_su" ( "name" text, "wins" real, "start" text, "duration" text, "defeated_by" text );. Question: "How many wins, on average, were defeated by furuichi?". [/INST] SELECT AVG("wins") FROM "most_consecutive_wins_from_entry_into_su" WHERE "defeated_by"='furuichi';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1969_as_three_leagues_come_together" ( "port_fairy_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );. Question: "How many wins for Port Fairy and against more than 2333?". [/INST] SELECT MAX("wins") FROM "1969_as_three_leagues_come_together" WHERE "port_fairy_fl"='port fairy' AND "against">2333;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1969_as_three_leagues_come_together" ( "port_fairy_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );. Question: "How many byes when the draws are less than 0?". [/INST] SELECT COUNT("byes") FROM "1969_as_three_leagues_come_together" WHERE "draws"<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 "1969_as_three_leagues_come_together" ( "port_fairy_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );. Question: "How many draws when the Port Fairy FL is Hawkesdale and there are more than 9 wins?". [/INST] SELECT MAX("draws") FROM "1969_as_three_leagues_come_together" WHERE "port_fairy_fl"='hawkesdale' AND "wins">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 "italy" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is the weight of the entry that has a date of birth of 1981-11-21?". [/INST] SELECT "weight" FROM "italy" WHERE "date_of_birth"='1981-11-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 "italy" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is the name of the player from club Circolo Nautico Posillipo and a position of D?". [/INST] SELECT "name" FROM "italy" WHERE "pos"='d' AND "club"='circolo nautico posillipo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "italy" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );. Question: "What is the position of the player with a height of m (ft 6in)?". [/INST] SELECT "pos" FROM "italy" WHERE "height"='m (ft 6in)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "Who won in 1979 with +8 to par?". [/INST] SELECT "player" FROM "made_the_cut" WHERE "to_par"='+8' AND "year_s_won"='1979';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What is the average total in 1969?". [/INST] SELECT AVG("total") FROM "made_the_cut" WHERE "year_s_won"='1969';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );. Question: "What is the Score of the Tournament with Opponent in the final of Martin Spottl?". [/INST] SELECT "score" FROM "wins_5" WHERE "opponent_in_the_final"='martin spottl';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );. Question: "What is the Score of the Tournament played on Clay Surface on May 5, 1999?". [/INST] SELECT "score" FROM "wins_5" WHERE "surface"='clay' AND "date"='may 5, 1999';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );. Question: "What is the Date of the game with a Score of 6–4, 6–2?". [/INST] SELECT "date" FROM "wins_5" WHERE "score"='6–4, 6–2';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "wins_5" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );. Question: "What is the Opponent in the final of the game on february 2, 2004?". [/INST] SELECT "opponent_in_the_final" FROM "wins_5" WHERE "date"='february 2, 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_sprint_cup_series_race_winners" ( "season" real, "date" text, "winning_driver" text, "car_num" real, "sponsor" text, "make" text, "team" text, "avg_speed" text, "margin_of_victory" text );. Question: "What team ran car #24 on August 30?". [/INST] SELECT "team" FROM "nascar_sprint_cup_series_race_winners" WHERE "car_num"=24 AND "date"='august 30';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nascar_sprint_cup_series_race_winners" ( "season" real, "date" text, "winning_driver" text, "car_num" real, "sponsor" text, "make" text, "team" text, "avg_speed" text, "margin_of_victory" text );. Question: "What was the average speed of Tony Stewart's winning Chevrolet Impala?". [/INST] SELECT "avg_speed" FROM "nascar_sprint_cup_series_race_winners" WHERE "winning_driver"='tony stewart' AND "make"='chevrolet impala';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "Which College/junior/club team (league) was the player from Switzerland from?". [/INST] SELECT "college_junior_club_team_league" FROM "2007_draft_picks" WHERE "nationality"='switzerland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007_draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "Which player from the United States plays defence and was chosen before round 5?". [/INST] SELECT "player" FROM "2007_draft_picks" WHERE "position"='defence' AND "round"<5 AND "nationality"='united states';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1980s_49ers_13_8" ( "year" real, "date" text, "home_team" text, "result" text, "visiting_team" text, "venue" text, "attendance" real );. Question: "What's the total attendance at anaheim stadium after 1983 when the result is 14-28?". [/INST] SELECT COUNT("attendance") FROM "1980s_49ers_13_8" WHERE "year">1983 AND "venue"='anaheim stadium' AND "result"='14-28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "What is the score when the tie is 8?". [/INST] SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='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 "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "Who is the home team with Liverpool as the away?". [/INST] SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='liverpool';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );. Question: "What is the score when the tie is 9?". [/INST] SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='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 "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What's england's to par?". [/INST] SELECT "to_par" FROM "made_the_cut" WHERE "country"='england';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What country had a finish of t49?". [/INST] SELECT "country" FROM "made_the_cut" WHERE "finish"='t49';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What country had a finish of t42?". [/INST] SELECT "country" FROM "made_the_cut" WHERE "finish"='t42';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );. Question: "What's the finish for the total 288?". [/INST] SELECT "finish" FROM "made_the_cut" WHERE "total"=288;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1954" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What is the status when the against is 11?". [/INST] SELECT "status" FROM "1954" WHERE "against"=11;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1954" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What was the venue for the game played on 13/02/1954?". [/INST] SELECT "venue" FROM "1954" WHERE "date"='13/02/1954';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1954" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What was the venue for the game played on 16/01/1954, when the against was more than 3?". [/INST] SELECT "venue" FROM "1954" WHERE "against">3 AND "date"='16/01/1954';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1954" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "What is the lowest against for games played in the stade colombes, paris venue?". [/INST] SELECT MIN("against") FROM "1954" WHERE "venue"='stade colombes, paris';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1954" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );. Question: "In which venue was there an against of 11?". [/INST] SELECT "venue" FROM "1954" WHERE "against"=11;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "absentee_cardinals" ( "elector" text, "place_of_birth" text, "cardinalatial_title" text, "elevated" text, "elevator" text );. Question: "What Elector was Elevated on December 18, 1182?". [/INST] SELECT "elector" FROM "absentee_cardinals" WHERE "elevated"='december 18, 1182';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "absentee_cardinals" ( "elector" text, "place_of_birth" text, "cardinalatial_title" text, "elevated" text, "elevator" text );. Question: "What is the Elevator of the Elected Elevated on September 21, 1179?". [/INST] SELECT "elevator" FROM "absentee_cardinals" WHERE "elevated"='september 21, 1179';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "absentee_cardinals" ( "elector" text, "place_of_birth" text, "cardinalatial_title" text, "elevated" text, "elevator" text );. Question: "Who is the Elector with a Cardinalatial title of Priest of S. Sabina and Archbishop of Reims?". [/INST] SELECT "elector" FROM "absentee_cardinals" WHERE "cardinalatial_title"='priest of s. sabina and archbishop of reims';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "absentee_cardinals" ( "elector" text, "place_of_birth" text, "cardinalatial_title" text, "elevated" text, "elevator" text );. Question: "What Elector has an Elevator of Alexander III and a Cardinalatial title of Bishop of Palestrina?". [/INST] SELECT "elector" FROM "absentee_cardinals" WHERE "elevator"='alexander iii' AND "cardinalatial_title"='bishop of palestrina';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "What was the score of the 2nd leg when the Belgrano played the first leg at home with a score of 2-1?". [/INST] SELECT "2nd_leg" FROM "losers_knockout" WHERE "1st_leg"='2-1' AND "home_1st_leg"='belgrano';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "What was the aggregate score that had a 1-2 second leg score?". [/INST] SELECT "aggregate" FROM "losers_knockout" WHERE "2nd_leg"='1-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 "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "Which team played their first leg at home with an aggregate score of 3-4?". [/INST] SELECT "home_1st_leg" FROM "losers_knockout" WHERE "aggregate"='3-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 "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "Which team played the 2nd leg at home with a tie of 1-1 and scored 3-2 in aggregate?". [/INST] SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "aggregate"='3-2' AND "2nd_leg"='1-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 "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "Who played at home for the 2nd leg with a score of 1-2?". [/INST] SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "2nd_leg"='1-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 "losers_knockout" ( "home_1st_leg" text, "home_2nd_leg" text, "1st_leg" text, "2nd_leg" text, "aggregate" text );. Question: "Who played at home for the second leg with a score of 0-1 and tied 0-0 in the first leg?". [/INST] SELECT "home_2nd_leg" FROM "losers_knockout" WHERE "1st_leg"='0-0' AND "2nd_leg"='0-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 "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "In what Country is Haugesund?". [/INST] SELECT "country" FROM "coast_air_destinations" WHERE "city"='haugesund';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "What Airport's ICAO is ENTO?". [/INST] SELECT "airport" FROM "coast_air_destinations" WHERE "icao"='ento';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "What is City of Sandefjord in Norway's IATA?". [/INST] SELECT "iata" FROM "coast_air_destinations" WHERE "country"='norway' AND "city"='sandefjord';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "What is th IATA for Norway with an ICAO of ENTO?". [/INST] SELECT "iata" FROM "coast_air_destinations" WHERE "country"='norway' AND "icao"='ento';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "What Country has a ICAO of EKCH?". [/INST] SELECT "country" FROM "coast_air_destinations" WHERE "icao"='ekch';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coast_air_destinations" ( "city" text, "country" text, "airport" text, "iata" text, "icao" text );. Question: "What is the Airport in Oslo?". [/INST] SELECT "airport" FROM "coast_air_destinations" WHERE "city"='oslo';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table 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_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "How many Drawn have a Lost smaller than 25, and a Goal Difference of +7, and a Played larger than 34?". [/INST] SELECT COUNT("drawn") FROM "first_division_final_table" WHERE "lost"<25 AND "goal_difference"='+7' AND "played">34;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "Which Goals For has a Played larger than 34?". [/INST] SELECT MIN("goals_for") FROM "first_division_final_table" WHERE "played">34;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "Which Position has 47 Goals Against, and a Played larger than 34?". [/INST] SELECT MAX("position") FROM "first_division_final_table" WHERE "goals_against"=47 AND "played">34;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );. Question: "Which Goals For has a Lost of 12, and a Played larger than 34?". [/INST] SELECT MAX("goals_for") FROM "first_division_final_table" WHERE "lost"=12 AND "played">34;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What did Taiwan score?". [/INST] SELECT "score" FROM "second_round" WHERE "country"='taiwan';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Which country placed t9 and had the player jiyai shin?". [/INST] SELECT "country" FROM "second_round" WHERE "place"='t9' AND "player"='jiyai shin';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Who scored 69-74=143 for Colombia?". [/INST] SELECT "player" FROM "second_round" WHERE "score"='69-74=143' AND "country"='colombia';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "What was Momoko Ueda's place?". [/INST] SELECT "place" FROM "second_round" WHERE "player"='momoko ueda';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );. Question: "Who placed t5 and had a score of 70-72=142?". [/INST] SELECT "player" FROM "second_round" WHERE "place"='t5' AND "score"='70-72=142';</s>